diff --git a/init.el b/init.el index 3f99604..5bc18ed 100644 --- a/init.el +++ b/init.el @@ -48,8 +48,11 @@ (use-package emacs :hook (;;(emacs-lisp-mode . my/-emacs-lisp-mode-setup-evil-lookup) ;;(prog-mode . electric-pair-local-mode) - ((text-mode message-mode tex-mode prog-mode) . auto-fill-mode)) + ((text-mode message-mode tex-mode prog-mode) . auto-fill-mode) + ((text-mode message-mode tex-mode prog-mode) . my/-enable-show-trailing-whitespace)) :init + (defun my/-enable-show-trailing-whitespace () + (setq-local show-trailing-whitespace t)) ;; (defun my/-emacs-lisp-mode-setup-evil-lookup () ;; (setq-local evil-lookup-func ;; #'my/describe-symbol-at-point)) @@ -136,8 +139,7 @@ tab-width 4 fill-column 80 comment-multi-line t - comment-empty-lines 'eol - show-trailing-whitespace t) + comment-empty-lines 'eol) ;; Tree sitter download locations (setq treesit-language-source-alist