Call gofmt when go file is loaded

This commit is contained in:
Marcus Kammer 2021-04-25 14:31:05 +02:00
parent 7cbc18675b
commit 37930c35c4

View file

@ -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)