mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Split large modules into smaller parts (e.g. siren-text-manipulation) - Organize modules into high level groups: - completion - core - editor - languages - linting - misc - navigation - projects - spelling - text-editing - version-control - windows - workspaces
27 lines
660 B
EmacsLisp
27 lines
660 B
EmacsLisp
;;; siren-linum.el --- jimeh's Emacs Siren: linum configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for linum.
|
|
|
|
;;; Code:
|
|
|
|
(use-package linum
|
|
:ensure nil ;; loaded from emacs built-ins
|
|
:hook (prog-mode . linum-mode))
|
|
|
|
(use-package linum+
|
|
:ensure nil ;; loaded from vendor
|
|
:after linum
|
|
:init
|
|
;; Customize line numbers - In GUI mode the fringe is the spacer between line
|
|
;; numbers and code, while in console mode we add an extra space for it.
|
|
(if window-system (setq linum+-dynamic-format " %%%dd")
|
|
(setq linum+-dynamic-format " %%%dd "))
|
|
|
|
:config
|
|
(setq linum-format 'dynamic))
|
|
|
|
(provide 'siren-linum)
|
|
;;; siren-linum.el ends here
|