diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-07-28 15:12:27 -0700 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-28 15:12:27 -0700 |
commit | 045b510d407cec65ffe6138e60431229628828f8 (patch) | |
tree | 7af9aacd8292f7edc26b81554ba3b444993e302b | |
parent | Set the font to Droid Sans Mono (diff) | |
download | emacs.d-045b510d407cec65ffe6138e60431229628828f8.tar.gz |
[emacs] Set indentation width to 4 for go-mode.
Closes #11.
-rw-r--r-- | emacs.d/init.el | 1 |
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 |