dominikh / go-mode.el

Emacs mode for the Go programming language
BSD 3-Clause "New" or "Revised" License
1.37k stars 209 forks source link

Replace gofmt-before-save with gofmt minor mode #426

Open PuercoPop opened 10 months ago

PuercoPop commented 10 months ago

Using a minor mode has the advantage that disabling the hook is easier.

To enable it (add-hook 'go-mode-hook 'gofmt-mode)

dominikh commented 8 months ago

Thanks, I'll take a look at this soon.