Only show trailing whitespace in acutal text or prog buffers
This commit is contained in:
parent
046ba351ce
commit
e79ade8554
8
init.el
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user