diff options
-rw-r--r-- | user/emacs/init.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 5eef7449..369c4f1a 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -716,14 +716,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve ;;;; golang (use-package go-mode - :defer t - :config (progn - (setq-default gofmt-command "goimports") - (add-hook 'go-mode-hook (lambda () - (add-hook 'before-save-hook #'gofmt-before-save) - (if (not (string-match-p "go" compile-command)) - (set (make-local-variable 'compile-command) - "go build -v && go test && go vet")))))) + :defer t) ;;;; rust (use-package rustic |