Files
.emacs.d/modules/editor/siren-linum.el
Jim Myhrberg 87a86191db Majorly re-organize modules
- 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
2018-05-20 17:31:11 +01:00

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