Requires evil in fn impl
This commit is contained in:
parent
9f1c997128
commit
edf8c0b602
1 changed files with 2 additions and 0 deletions
|
@ -242,6 +242,8 @@
|
||||||
:init
|
:init
|
||||||
(setq linum-disabled-modes-list '(term-mode dired-mode Man-mode org-mode emacs-pager-mode))
|
(setq linum-disabled-modes-list '(term-mode dired-mode Man-mode org-mode emacs-pager-mode))
|
||||||
:config
|
:config
|
||||||
|
(require 'evil)
|
||||||
|
|
||||||
(defun linum-on ()
|
(defun linum-on ()
|
||||||
(if (or (memq major-mode linum-disabled-modes-list)
|
(if (or (memq major-mode linum-disabled-modes-list)
|
||||||
(minibufferp)
|
(minibufferp)
|
||||||
|
|
Loading…
Reference in a new issue