Enable nlinum again
This commit is contained in:
parent
547e043143
commit
2e54d3bc33
1 changed files with 2 additions and 0 deletions
|
@ -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)))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue