about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-ui.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index ad900ad..a716b4f 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -139,6 +139,7 @@
     (add-hook (intern (concat (symbol-name mode) "-hook")) #'turn-off-whitespace-mode))
   :hook
   (text-mode . (lambda () (whitespace-mode +1)))
+  (prog-mode . (lambda () (whitespace-mode +1))))
 
 (use-package volatile-highlights
   :defer 10