General cleanup + refactor
This commit is contained in:
parent
0e78cde69d
commit
10ea06b661
10 changed files with 33 additions and 37 deletions
|
@ -3,10 +3,10 @@
|
|||
(def-package! go-mode
|
||||
:mode "\\.go$"
|
||||
:interpreter "go"
|
||||
:init
|
||||
:config
|
||||
(add-hook 'go-mode-hook #'flycheck-mode)
|
||||
(add-hook! go-mode (add-hook 'before-save-hook #'gofmt-before-save nil t))
|
||||
:config
|
||||
|
||||
(set! :build 'go-build 'go-mode #'+go/build)
|
||||
(set! :repl 'go-mode #'gorepl-run)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue