projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
796e153
)
Let's try to use goimports instead of gofmt
author
Sergey Matveev <stargrave@stargrave.org>
Mon, 2 Dec 2019 20:51:15 +0000 (23:51 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Mon, 2 Dec 2019 20:51:15 +0000 (23:51 +0300)
vim/.vim/ftplugin/go/fmt.vim
patch
|
blob
|
history
diff --git
a/vim/.vim/ftplugin/go/fmt.vim
b/vim/.vim/ftplugin/go/fmt.vim
index 359545bd4051da18bb08234f3fe59cc61437a9c3..49d20dca637cd9bb0ddacf7ca43a8e48e74ea581 100644
(file)
--- a/
vim/.vim/ftplugin/go/fmt.vim
+++ b/
vim/.vim/ftplugin/go/fmt.vim
@@
-31,7
+31,7
@@
if !exists("g:go_fmt_commands")
endif
if !exists("g:gofmt_command")
- let g:gofmt_command = "go
fmt
"
+ let g:gofmt_command = "go
imports
"
endif
if g:go_fmt_commands