Highlight trailing whitespaces by default

This commit is contained in:
Daniel Borchmann 2025-06-15 12:03:14 +02:00
parent 648b5cc341
commit 2180704db9
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

56
init.el
View File

@ -128,33 +128,35 @@
(use-package help-fns (use-package help-fns
:defines (help-enable-symbol-autoload)) :defines (help-enable-symbol-autoload))
(setq select-enable-clipboard t (setopt select-enable-clipboard t
select-enable-primary t select-enable-primary t
save-interprogram-paste-before-kill t save-interprogram-paste-before-kill t
mouse-yank-at-point t mouse-yank-at-point t
scroll-conservatively 10 scroll-conservatively 10
scroll-preserve-screen-position 'always ; Make M-v undo C-v scroll-preserve-screen-position 'always ; Make M-v undo C-v
message-log-max t message-log-max t
inhibit-eol-conversion nil inhibit-eol-conversion nil
tab-always-indent 'complete tab-always-indent 'complete
enable-recursive-minibuffers t enable-recursive-minibuffers t
set-mark-command-repeat-pop t set-mark-command-repeat-pop t
echo-keystrokes 0.1 echo-keystrokes 0.1
delete-trailing-lines nil delete-trailing-lines nil
x-underline-at-descent-line t x-underline-at-descent-line t
visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow) visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)
history-delete-duplicates t history-delete-duplicates t
track-eol t track-eol t
garbage-collection-messages nil garbage-collection-messages nil
read-process-output-max (* 1024 1024) ; 1mb read-process-output-max (* 1024 1024) ; 1mb
next-error-message-highlight t next-error-message-highlight t
help-enable-symbol-autoload t help-enable-symbol-autoload t
describe-bindings-outline t describe-bindings-outline t
redisplay-skip-fontification-on-input t redisplay-skip-fontification-on-input t
undo-limit 80000000 undo-limit 80000000
async-shell-command-buffer 'new-buffer async-shell-command-buffer 'new-buffer
byte-compile-warnings '(not docstrings) indicate-buffer-boundaries 'left
indicate-buffer-boundaries 'left) show-trailing-whitespace t)
(setq byte-compile-warnings '(not docstrings)) ; yields warning when used with setopt
(put 'set-goal-column 'disabled nil) (put 'set-goal-column 'disabled nil)