Skip to content

Commit

Permalink
fmt: print full goimports path if it's not compatible
Browse files Browse the repository at this point in the history
Fixes #1006
  • Loading branch information
fatih committed Aug 27, 2016
1 parent 2aad0a8 commit a5222bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/fmt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function! go#fmt#Format(withGoimport)
if !exists('b:goimports_vendor_compatible')
let out = go#util#System(bin_path . " --help")
if out !~ "-srcdir"
call go#util#EchoWarning("vim-go: goimports does not support srcdir. update with: :GoUpdateBinaries")
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
Expand Down

0 comments on commit a5222bf

Please sign in to comment.