Disable nlinum and cleanup helm

This commit is contained in:
Henrik Lissner 2015-07-03 00:26:18 +02:00
parent 6926fe757f
commit dc0f0fcec0
2 changed files with 3 additions and 6 deletions

View file

@ -95,9 +95,6 @@
(remove-hook 'post-command-hook 'narf|nlinum-hl-line)
(narf|nlinum-unhl-line))
(add-hook! text-mode 'narf|nlinum-enable)
(add-hook! prog-mode 'narf|nlinum-enable)
(add-hook! org-mode 'narf|nlinum-disable)
;; Preset width nlinum
(add-hook! nlinum-mode
(setq nlinum--width (length (number-to-string (count-lines (point-min) (point-max)))))))