fix(wpcarro/emacs): Ensure tab-width=2

- Set global tab-width
- Set golang-buffer-local tab-width

Change-Id: Ifa21f4e5a4c5e00d2355cd0dfecfb9b24597da57
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4549
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2021-12-23 21:18:20 -05:00 committed by clbot
parent 52cd4f82fb
commit e46521dce1
2 changed files with 5 additions and 7 deletions

View file

@ -191,6 +191,9 @@
;; ensure code wraps at 80 characters by default
(setq-default fill-column 80)
;; render tabs 2x-chars wide
(setq tab-width 2)
(put 'narrow-to-region 'disabled nil)
;; trim whitespace on save