Call gofmt when go file is loaded
This commit is contained in:
parent
7cbc18675b
commit
37930c35c4
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ There are two things you can do about this warning:
|
|||
(use-package ob-rust)
|
||||
|
||||
(use-package go-mode
|
||||
:hook ('before-save-hook . #'gofmt-before-save))
|
||||
:init
|
||||
(add-hook 'before-save-hook #'gofmt-before-save))
|
||||
|
||||
(use-package ob-go)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue