Add whitespace-mode customisations

This commit is contained in:
Evie Litherland-Smith 2024-02-15 06:18:35 +00:00
parent 77833632c3
commit f7eb8fa03d

View file

@ -86,6 +86,7 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
:custom :custom
(recentf-max-saved-items 2048)) (recentf-max-saved-items 2048))
#+end_src #+end_src
** package-archive with priorities ** package-archive with priorities
#+begin_src emacs-lisp :results output silent #+begin_src emacs-lisp :results output silent
(when (require 'package nil :noerror) (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)))))) (ibuffer-do-sort-by-project-file-relative))))))
#+end_src #+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 ** Link hint keymaps
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package link-hint (use-package link-hint