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