Check for linum-mode and global-linum-mode

This commit is contained in:
syl20bnr 2015-04-19 01:20:54 -04:00
parent 3104d74a69
commit 4a5f9450ca

View file

@ -69,7 +69,7 @@
(setq git-gutter:deleted-sign "-")
(spacemacs|hide-lighter git-gutter-mode)
(if (and (not git-gutter-use-fringe)
'linum-mode)
(or linum-mode global-linum-mode))
(git-gutter:linum-setup))
(with-eval-after-load (or 'git-gutter 'git-gutter-fringe)
(evil-leader/set-key