Switch from global-display-line-numbers-mode to only in prog-mode

This commit is contained in:
Evie Litherland-Smith 2024-01-09 14:26:32 +00:00
parent 1ab1147e2f
commit ddb0d9ba6b

View file

@ -169,12 +169,14 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
truncate-partial-width-windows nil)
(menu-bar-mode +1)
(global-display-line-numbers-mode +1)
(global-prettify-symbols-mode +1)
(global-display-line-numbers-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(tab-bar-mode -1)
(add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1)))
(use-package word-wrap-mode
:ensure t
:diminish