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:
parent
c3be4f6f59
commit
6372ce9e0a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue