simplify a small bit

This commit is contained in:
Gered 2024-12-03 20:59:41 -05:00
parent ae2c3e70e8
commit c8811826f7

View file

@ -5,10 +5,8 @@
(setopt display-line-numbers-width 3) (setopt display-line-numbers-width 3)
(add-hook 'text-mode-hook 'visual-line-mode) (add-hook 'text-mode-hook 'visual-line-mode)
(add-hook 'text-mode-hook 'hl-line-mode)
(dolist (hook '(text-mode-hook (add-hook 'prog-mode-hook 'hl-line-mode)
prog-mode-hook))
(add-hook hook 'hl-line-mode))
(setopt x-underline-at-descent-line nil) (setopt x-underline-at-descent-line nil)
(setopt switch-to-buffer-obey-display-actions 1) (setopt switch-to-buffer-obey-display-actions 1)