feat(wpcarro/emacs): Render tabs in whitespace-mode

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>
This commit is contained in:
William Carroll 2022-12-20 11:18:56 -08:00 committed by clbot
parent c3be4f6f59
commit 6372ce9e0a

View file

@ -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)