diff --git a/vimrc b/vimrc index 19ef00d..eef2ae3 100644 --- a/vimrc +++ b/vimrc @@ -175,3 +175,5 @@ augroup COMMIT_EDITMSG au! BufRead,BufNewFile COMMIT_EDITMSG set filetype=gitcommit augroup END +autocmd FileType go autocmd BufWritePre Fmt +