fix disable linum-mode in modes
This commit is contained in:
parent
8ac1616898
commit
7a1c4a38c3
@ -10,10 +10,22 @@
|
|||||||
(use-package nlinum
|
(use-package nlinum
|
||||||
:config
|
:config
|
||||||
(add-hook 'find-file-hook (lambda () (linum-mode 1)))
|
(add-hook 'find-file-hook (lambda () (linum-mode 1)))
|
||||||
(linum-mode)
|
(setq global-linum-mode t)
|
||||||
(setq global-linum-mode t))
|
)
|
||||||
|
|
||||||
|
(use-package linum
|
||||||
|
:config
|
||||||
|
(linum-mode 1)
|
||||||
|
:hook
|
||||||
|
(apache-mode . linum-mode)
|
||||||
|
(elisp-mode . linum-mode)
|
||||||
|
(html-mode . linum-mode)
|
||||||
|
(js-mode . linum-mode)
|
||||||
|
(markdown-mode . linum-mode)
|
||||||
|
(nginx-mode . linum-mode)
|
||||||
|
(php-mode . linum-mode)
|
||||||
|
(web-mode . linum-mode))
|
||||||
|
|
||||||
(use-package linum)
|
|
||||||
(use-package hl-line)
|
(use-package hl-line)
|
||||||
|
|
||||||
(defface my-linum-hl
|
(defface my-linum-hl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user