General cleanup

This commit is contained in:
Henrik Lissner 2016-05-26 18:51:39 -04:00
parent ef9b59197a
commit 82fa5d977a
11 changed files with 60 additions and 55 deletions

View file

@ -159,7 +159,9 @@
(markdown-mode prog-mode scss-mode web-mode conf-mode)
'nlinum-mode)
(add-hook! 'nlinum-mode-hook
(add-hook 'post-command-hook 'doom|nlinum-hl-line nil t))
(if nlinum-mode-hook
(add-hook 'post-command-hook 'doom|nlinum-hl-line nil t)
(remove-hook 'post-command-hook 'doom|nlinum-hl-line t)))
:config
;; Calculate line number column width
(add-hook! nlinum-mode