Browse Source

gofumpt on save

master
David Trudgian 2 months ago
parent
commit
0c935bf1e3
  1. 6
      elisp/lang-go.el

6
elisp/lang-go.el

@ -1,5 +1,9 @@
(use-package go-mode
:ensure t)
:ensure t
:config
(setq gofmt-command "gofumpt")
(add-hook 'before-save-hook 'gofmt-before-save))
(use-package eglot
:ensure t

Loading…
Cancel
Save