mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Make use of use-package's :bind option whenever possible. - Make use of use-package's :hook option whenever possible. - Rename and move all mode setup functions into use-package's :init step. - Other minor misc fixes and tweaks to a few modules.
24 lines
557 B
EmacsLisp
24 lines
557 B
EmacsLisp
;;; siren-linum.el --- jimeh's Emacs Siren: linum configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for linum.
|
|
|
|
;;; Code:
|
|
|
|
(use-package linum+
|
|
:ensure nil ;; loaded from vendor
|
|
:demand
|
|
|
|
: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
|