Skip to content

Commit

Permalink
coverage: fix running coverage for neovim
Browse files Browse the repository at this point in the history
Neovim didn't like escaping it. Just disable it.

Closes #899
  • Loading branch information
fatih committed Jun 11, 2016
1 parent a3452fd commit f846d07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/go/cmd.vim
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ function! go#cmd#Test(bang, compile, ...)
if a:0
" expand all wildcards(i.e: '%' to the current file name)
let goargs = map(copy(a:000), "expand(v:val)")
let goargs = go#util#Shelllist(goargs, 1)
if !has('nvim')
let goargs = go#util#Shelllist(goargs, 1)
endif

call extend(args, goargs, 1)
else
Expand Down

0 comments on commit f846d07

Please sign in to comment.