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:
parent
52cd4f82fb
commit
e46521dce1
2 changed files with 5 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue