diff options
| -rw-r--r-- | emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index fc5f8f0..357a2f8 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -60,6 +60,7 @@ (add-hook 'c++-mode-hook (lambda () (google-set-c-style))) (add-hook 'go-mode-hook (lambda () + (setq-local gofmt-command "goimports") (setq-local tab-width 2) (add-hook 'before-save-hook 'gofmt-before-save nil t))) (add-hook 'ibuffer-mode-hook |
