emacs: don't enable hl-line mode in special-mode
This commit is contained in:
parent
b5f35f96aa
commit
ea38204c10
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,6 @@
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
(savehist-mode -1)
|
(savehist-mode -1)
|
||||||
(global-hl-line-mode)
|
|
||||||
(column-number-mode)
|
(column-number-mode)
|
||||||
(recentf-mode)
|
(recentf-mode)
|
||||||
(save-place-mode)
|
(save-place-mode)
|
||||||
|
@ -110,6 +109,8 @@ value `italic'."
|
||||||
tab-width w))
|
tab-width w))
|
||||||
|
|
||||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
||||||
|
(add-hook 'prog-mode-hook #'hl-line-mode)
|
||||||
|
(add-hook 'text-mode-hook #'hl-line-mode)
|
||||||
|
|
||||||
(add-hook 'prog-mode-hook 'indent-tab-hook)
|
(add-hook 'prog-mode-hook 'indent-tab-hook)
|
||||||
(add-hook 'sgml-mode-hook 'indent-spc-hook)
|
(add-hook 'sgml-mode-hook 'indent-spc-hook)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue