common/home-manager/emacs: gofmt-before-save
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
709a618a2d
commit
e4c645f5f8
|
@ -483,6 +483,7 @@ in {
|
|||
enable = true;
|
||||
config = ''
|
||||
(setq gofmt-command "goimports")
|
||||
(add-hook 'before-save-hook #'gofmt-before-save)
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue