Skip to content

Commit 32f9d2b

Browse files
authored
Merge pull request #1062 from lukatendai/master
skip go#util#Shelllist if nvim is being used
2 parents 2b19e6c + acab9b3 commit 32f9d2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

autoload/go/cmd.vim

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ function! go#cmd#Build(bang, ...)
1818
let goargs = map(copy(a:000), "expand(v:val)")
1919

2020
" escape all shell arguments before we pass it to make
21-
let goargs = go#util#Shelllist(goargs, 1)
22-
21+
if !has('nvim')
22+
let goargs = go#util#Shelllist(goargs, 1)
23+
endif
2324
" create our command arguments. go build discards any results when it
2425
" compiles multiple packages. So we pass the `errors` package just as an
2526
" placeholder with the current folder (indicated with '.')

0 commit comments

Comments
 (0)