From 63dbce1357bba3b7c288012db9908ab7194439fc Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 13 Sep 2022 21:01:31 +0100 Subject: (Emacs)~whitespace now shows spaces Might be kinda useless but I think it actually makes it a bit easier to distinguish what's written in a file. --- Emacs/.config/emacs/config.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 3e58bf6..f20b66b 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1948,7 +1948,7 @@ at once, without using a VCS like git (all in Emacs). (leader "tu" #'undo-tree-visualize)) #+end_src -*** White space +*** Whitespace Deleting whitespace, highlighting when going beyond the 80th character limit, all good stuff. I don't want to highlight whitespace for general mode categories (Lisp shouldn't really have an 80 character @@ -1968,7 +1968,7 @@ limit), so set it for specific modes need the help. (haskell-mode-hook . whitespace-mode) (python-mode-hook . whitespace-mode) :init - (setq whitespace-style '(face lines-tail tabs tab-mark trailing newline) + (setq whitespace-style '(face lines-tail spaces tabs tab-mark trailing newline) whitespace-line-column 80)) #+end_src *** Set auto-fill-mode for all text-modes -- cgit v1.2.3-13-gbd6f