diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-22 17:56:12 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-22 17:56:12 -0700 |
commit | 7bf6e03ce0090bb9258416feab3a63137ef9f2bf (patch) | |
tree | 272c37e6e4213e0d0767d59b84033508de86e3a7 /emacs | |
parent | commands: start refactoring (diff) | |
download | emacs.d-7bf6e03ce0090bb9258416feab3a63137ef9f2bf.tar.gz |
prog: format go buffer before saving
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/fcuny-prog.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-prog.el b/emacs/custom/fcuny-prog.el index 6246863..2c4635e 100644 --- a/emacs/custom/fcuny-prog.el +++ b/emacs/custom/fcuny-prog.el @@ -109,6 +109,7 @@ (use-package go-mode :after (eglot) :ensure t + :hook ((before-save . gofmt-before-save)) :custom (tab-width 4)) |