Enable nlinum again

This commit is contained in:
Henrik Lissner 2015-07-18 12:13:24 +02:00
parent 547e043143
commit 2e54d3bc33

View file

@ -96,6 +96,8 @@
(narf|nlinum-unhl-line))
;; Preset width nlinum
(add-hook! (text-mode prog-mode) 'narf|nlinum-enable)
;; (add-hook! org-mode 'narf|nlinum-enable)
(add-hook! nlinum-mode
(setq nlinum--width (length (number-to-string (count-lines (point-min) (point-max)))))))