From 1a946d9be7568bf38c5c76d8ec581a526c5e7c4b Mon Sep 17 00:00:00 2001 From: Elliott Jin Date: Wed, 5 Jul 2017 14:47:41 -0700 Subject: [PATCH] Fix warning when goimports doesn't support srcdir --- autoload/go/fmt.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/go/fmt.vim b/autoload/go/fmt.vim index bee5da98c2..66dbecd720 100644 --- a/autoload/go/fmt.vim +++ b/autoload/go/fmt.vim @@ -184,7 +184,7 @@ function! s:fmt_cmd(bin_name, source, target) if !exists('b:goimports_vendor_compatible') let out = go#util#System(bin_path . " --help") if out !~ "-srcdir" - call go#util#EchoWarning(printf("vim-go: goimports (%s) does not support srcdir. Update with: :GoUpdateBinaries", , bin_path)) + call go#util#EchoWarning(printf("vim-go: goimports (%s) does not support srcdir. Update with: :GoUpdateBinaries", bin_path)) else let b:goimports_vendor_compatible = 1 endif