summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-28 15:12:27 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-28 15:12:27 -0700
commit045b510d407cec65ffe6138e60431229628828f8 (patch)
tree7af9aacd8292f7edc26b81554ba3b444993e302b
parentSet the font to Droid Sans Mono (diff)
downloademacs.d-045b510d407cec65ffe6138e60431229628828f8.tar.gz
[emacs] Set indentation width to 4 for go-mode.
Closes #11.
-rw-r--r--emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index d10f3a4..8b9ba13 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -252,6 +252,7 @@ Return the new window for BUFFER."
 
 (add-hook 'go-mode-hook (lambda ()
                           (go-eldoc-setup)
+                          (setq tab-width 4)
                           (add-hook 'before-save-hook 'gofmt-before-save)))
 
 ;; configuration for markdown