disable global-hl-line mode only locally

This commit is contained in:
d12frosted 2015-09-07 22:05:59 +03:00 committed by syl20bnr
parent f53620a1c8
commit 14ef7d7c88

View file

@ -62,7 +62,7 @@
(electric-indent-local-mode -1))
(when haskell-enable-shm-support
;; in structured-haskell-mode line highlighting creates noise
(setq global-hl-line-mode nil)))
(setq-local global-hl-line-mode nil)))
;; hooks
(add-hook 'haskell-mode-hook 'spacemacs/init-haskell-mode)