about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-11-09T04·30-0800
committerclbot <clbot@tvl.fyi>2022-01-08T05·42+0000
commitea21339e5f73969ec429932b0a0812715443d2ef (patch)
tree47b771648d0e5ee8a54955651f95f64f7a4f3226 /users/wpcarro/emacs/.emacs.d/wpc
parent7c3fef10d93bc54c540d2f26e11412ef487efc5d (diff)
feat(wpcarro/emacs): prefer shorter tab-width r/3543
The default of eight spaces seemed excessive.

Change-Id: Id5cbbdc557a7b1d467c7c20390f58b00045a50cf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4809
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el
index a5fb10dd7284..b4150c4f6a5e 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el
@@ -210,6 +210,9 @@
 ;; use tabs instead of spaces
 (setq-default indent-tabs-mode nil)
 
+;; prefer shorter tab-widths (e.g. writing Go code)
+(setq-default tab-width 2)
+
 ;; automatically follow symlinks
 (setq vc-follow-symlinks t)