From a95b382d7294a0d9d7fc4a38cc9bfe52367cea90 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Mon, 22 May 2023 13:28:15 -0400 Subject: Don't show whitespace in specific places --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.el b/init.el index 72e8892..03c7dcd 100644 --- a/init.el +++ b/init.el @@ -358,6 +358,14 @@ indicate-empty-lines t indicate-buffer-boundaries 'left) +;; Don't show whitespace in specific places +(dolist (hook '(comint-mode-hook + compilation-mode-hook + minibuffer-setup-hook + special-mode-hook + term-mode-hook)) + (add-hook hook (lambda () (setq-local show-trailing-whitespace nil)))) + ;; Make files end with newline (setq-default require-final-newline t) -- cgit v1.2.3