We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8053348 + f439c0c commit 13b9eb5Copy full SHA for 13b9eb5
autoload/go/lint.vim
@@ -147,9 +147,9 @@ function! go#lint#Vet(bang, ...) abort
147
call go#cmd#autowrite()
148
echon "vim-go: " | echohl Identifier | echon "calling vet..." | echohl None
149
if a:0 == 0
150
- let out = go#tool#ExecuteInDir('go vet')
+ let out = go#util#System('go vet ' . go#util#Shellescape(go#package#ImportPath()))
151
else
152
- let out = go#tool#ExecuteInDir('go tool vet ' . go#util#Shelljoin(a:000))
+ let out = go#util#System('go tool vet ' . go#util#Shelljoin(a:000))
153
endif
154
155
let l:listtype = "quickfix"
0 commit comments