commit 0e4bb65033ac05429a4993e4c40c64d2b82f7edb parent a0103cfe9f1c43606a52a1815e07ec98c7dd30e6 Author: Michael Neuper <michael@michaelneuper.com> Date: Sat, 4 Oct 2025 14:54:11 +0200 highlight whitespace around region Diffstat:
| M | config.org | | | 10 | ++++++++++ |
| M | packages.el | | | 5 | +++++ |
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/config.org b/config.org @@ -539,6 +539,16 @@ Add a toggle for =lispy-mode=. :prefix "t" :desc "Lispy" "L" #'my/toggle-lispy) #+end_src +*** whitespace +#+begin_src emacs-lisp +(use-package! whitespace4r + :hook (prog-mode . whitespace4r-mode) + :config + (custom-set-faces! + `((whitespace4r-tab whitespace4r-space whitespace4r-hspace) + :background ,(face-attribute 'region :background) + :foreground ,(face-attribute 'font-lock-comment-face :foreground)))) +#+end_src ** :emacs *** dired Define a custom function to quickly find files in favourite directories. diff --git a/packages.el b/packages.el @@ -46,6 +46,11 @@ (package! colorful-mode) (package! rainbow-delimiters) ;; OTHER +(package! whitespace4r :recipe + (:host github + :repo "twlz0ne/whitespace4r.el" + :files ("whitespace4r.el"))) + ;; CALENDAR (package! calfw :recipe (:host github