Disable nlinum in org-mode

This commit is contained in:
Henrik Lissner 2015-07-24 13:04:46 +02:00
parent 56680e37a2
commit de8b88829c

View File

@ -103,8 +103,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! (text-mode prog-mode scss-mode web-mode) 'narf|nlinum-enable)
(add-hook! org-mode 'narf|nlinum-disable)
(add-hook! nlinum-mode
(setq nlinum--width (length (number-to-string (count-lines (point-min) (point-max)))))))