Add display line numbers hook to text and conf mode
This commit is contained in:
parent
221aa14794
commit
4b6a54f370
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,8 @@
|
||||||
|
|
||||||
;; Enable line numbers and show cursors position
|
;; Enable line numbers and show cursors position
|
||||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
||||||
|
(add-hook 'text-mode-hook 'display-line-numbers-mode)
|
||||||
|
(add-hook 'conf-mode-hook 'display-line-numbers-mode)
|
||||||
;; (global-display-line-numbers-mode t)
|
;; (global-display-line-numbers-mode t)
|
||||||
(column-number-mode t)
|
(column-number-mode t)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue