Enable show-trailing-whitespace globally

The variable is buffer-local and must be set with setq-default instead.

Also adds doom|{enable,disable}-show-trailing-whitespace hooks.
This commit is contained in:
Henrik Lissner 2019-05-16 15:57:08 -04:00
parent 29a1120f01
commit 67b6c44939
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 25 additions and 4 deletions

View file

@ -474,8 +474,10 @@ conditions where a window's buffer hasn't changed at the time this hook is run."
toc-org-enable ; auto-table of contents
auto-fill-mode ; line wrapping
;; `show-paren-mode' causes flickering with indentation margins made by
;; `org-indent-mode', so we simply turn off show-paren-mode altogether."
;; `org-indent-mode', so we turn off show-paren-mode altogether
doom|disable-show-paren-mode
;; Shows a lot of false positives, so...
doom|disable-show-trailing-whitespace
+org|enable-auto-reformat-tables
+org|enable-auto-update-cookies