Compare commits

...

2 commits

Author SHA1 Message Date
06208d5491 feat: Display function name in header as well 2025-07-24 10:24:54 +02:00
423acecb38 replace whitespace-cleanup with delete-trailing-whitespace
whitespace-cleanup seems to do some formatting, tabs-to-whitespace and
vice versa,... which are kinda annoying.

We should be fine for now with just removing trailing whitespaces.
2025-07-24 10:24:01 +02:00

View file

@ -77,7 +77,7 @@ The audible bell is annoying AF.
#+BEGIN_SRC emacs-lisp
(use-package whitespace
:ensure nil
:hook (before-save-hook . whitespace-cleanup)
:hook (before-save-hook . delete-trailing-whitespace)
;; if we wanna remove this hook at any time, eval:
;; (remove-hook 'before-save-hook #'whitespace-cleanup)
)
@ -213,6 +213,8 @@ Show function we are currently in in the mode-line.
(use-package which-func
:ensure nil
:defer t
:custom
(which-func-display mode-and-header)
:hook
(prog-mode-hook . which-function-mode)
)