mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Use goimports instead of gofmt
This commit is contained in:
@@ -12,4 +12,6 @@
|
||||
)
|
||||
|
||||
(add-hook 'go-mode-hook 'customizations-for-go-mode)
|
||||
|
||||
(setq gofmt-command "goimports")
|
||||
(add-hook 'before-save-hook #'gofmt-before-save)
|
||||
|
||||
Reference in New Issue
Block a user