]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/go/fmt.vim
Let's try to use goimports instead of gofmt
[dotfiles.git] / vim / .vim / ftplugin / go / fmt.vim
index 359545bd4051da18bb08234f3fe59cc61437a9c3..49d20dca637cd9bb0ddacf7ca43a8e48e74ea581 100644 (file)
@@ -31,7 +31,7 @@ if !exists("g:go_fmt_commands")
 endif
 
 if !exists("g:gofmt_command")
-    let g:gofmt_command = "gofmt"
+    let g:gofmt_command = "goimports"
 endif
 
 if g:go_fmt_commands