From e074d12cfcca4bd49962932e6867337e00769cf1 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 2 Dec 2019 23:51:15 +0300 Subject: [PATCH] Let's try to use goimports instead of gofmt --- vim/.vim/ftplugin/go/fmt.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/.vim/ftplugin/go/fmt.vim b/vim/.vim/ftplugin/go/fmt.vim index 359545b..49d20dc 100644 --- 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 = "gofmt" + let g:gofmt_command = "goimports" endif if g:go_fmt_commands -- 2.44.0