From f7eb8fa03ddee39652153f8a1e9610c2ecd495d0 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 15 Feb 2024 06:18:35 +0000 Subject: [PATCH] Add whitespace-mode customisations --- README.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.org b/README.org index 131e376..91d5df8 100644 --- a/README.org +++ b/README.org @@ -86,6 +86,7 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia :custom (recentf-max-saved-items 2048)) #+end_src + ** package-archive with priorities #+begin_src emacs-lisp :results output silent (when (require 'package nil :noerror) @@ -171,6 +172,30 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia (ibuffer-do-sort-by-project-file-relative)))))) #+end_src +** whitespace-mode +#+begin_src emacs-lisp + (use-package whitespace + :custom + (whitespace-action '(report-on-bogus + cleanup + warn-if-read-only)) + (whitespace-style '(face + trailing + tabs + spaces + lines-tail + newline + missing-newline-at-eof + empty + indentation + big-indent + space-after-tab + space-before-tab + space-mark + tab-mark + newline-mark))) +#+end_src + ** Link hint keymaps #+begin_src emacs-lisp (use-package link-hint