mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
20 lines
516 B
EmacsLisp
20 lines
516 B
EmacsLisp
;;; siren-linum.el --- jimeh's Emacs Siren: linum configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for linum.
|
|
|
|
;;; Code:
|
|
|
|
;; 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 "))
|
|
|
|
(eval-after-load "linum+" '(progn (setq linum-format 'dynamic)))
|
|
|
|
(require 'linum+)
|
|
|
|
(provide 'siren-linum)
|
|
;;; siren-linum.el ends here
|