From ea21339e5f73969ec429932b0a0812715443d2ef Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 8 Nov 2021 20:30:31 -0800 Subject: feat(wpcarro/emacs): prefer shorter tab-width 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 Autosubmit: wpcarro --- users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'users/wpcarro/emacs') 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) -- cgit 1.4.1