forked from colonelpanic/dotfiles
[Emacs] Add prog mode hook to show trailing whitespace
This commit is contained in:
parent
d3c46a4024
commit
7c0b6aa1af
@ -1315,6 +1315,7 @@ in my opinion. It's kind of crazy how often you will encounter serious codebases
|
|||||||
(setq show-trailing-whitespace t))
|
(setq show-trailing-whitespace t))
|
||||||
|
|
||||||
(add-hook 'text-mode-hook 'imalison:show-trailing-whitespace)
|
(add-hook 'text-mode-hook 'imalison:show-trailing-whitespace)
|
||||||
|
(add-hook 'prog-mode-hook 'imalison:show-trailing-whitespace)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Disable
|
*** Disable
|
||||||
Unfortunately, this setting can get annoying in a lot of modes, which is why I
|
Unfortunately, this setting can get annoying in a lot of modes, which is why I
|
||||||
|
Loading…
Reference in New Issue
Block a user