Experimentally enable outline mode by default for programming

This commit is contained in:
Daniel Borchmann 2025-08-07 18:05:07 +02:00
parent ca32065fb8
commit 55552cd8e8
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -1556,7 +1556,8 @@ Note that this workaround is incomplete, as explained in this comment."
(add-hook 'prog-mode-hook 'hl-line-mode) (add-hook 'prog-mode-hook 'hl-line-mode)
(add-hook 'prog-mode-hook 'page-break-lines-mode) (add-hook 'prog-mode-hook 'page-break-lines-mode)
(add-hook 'prog-mode-hook 'display-fill-column-indicator-mode) (add-hook 'prog-mode-hook 'display-fill-column-indicator-mode)
(add-hook 'prog-mode-hook #'(lambda () (setq show-trailing-whitespace t))))) (add-hook 'prog-mode-hook #'(lambda () (setq show-trailing-whitespace t)))
(add-hook 'prog-mode-hook 'outline-minor-mode)))
(use-package diff-hl (use-package diff-hl
:ensure t :ensure t