diff options
author | William Carroll <wpcarro@gmail.com> | 2022-12-20T19·18-0800 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-12-20T19·23+0000 |
commit | 6372ce9e0a0b2a7bea710b85c14d68aff30e5325 (patch) | |
tree | ca837dbf569422f7da612bc08d0a8d10ef7d7463 /users/wpcarro/emacs/.emacs.d | |
parent | c3be4f6f591cfa8429b3ebffed800513675b72f4 (diff) |
feat(wpcarro/emacs): Render tabs in whitespace-mode r/5433
Also trial enabling `global-whitespace-mode` (needed to `xml-mode` and maybe others I'm not thinking of at the moment). Change-Id: Ibfd6546da80a6238c8334704b144e0a164238dab Reviewed-on: https://cl.tvl.fyi/c/depot/+/7604 Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d')
-rw-r--r-- | users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el index 7a5605cdcad5..a2f533cec095 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el @@ -136,8 +136,8 @@ ;; example, Google Java projects prefer 100 character width instead of 80 ;; character width. (setq whitespace-line-column 80) - (setq whitespace-style '(face lines-tail)) - (add-hook 'prog-mode-hook #'whitespace-mode)) + (setq whitespace-style '(face lines-tail tabs)) + (global-whitespace-mode t)) ;; dirname/filename instead of filename<dirname> (setq uniquify-buffer-name-style 'forward) |