about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d')
-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)