Skip to content

Commit

Permalink
Merge pull request #900 from fatih/fix-coverage-nvim
Browse files Browse the repository at this point in the history
coverage: fix running coverage for neovim
  • Loading branch information
fatih authored Jun 11, 2016
2 parents 76d295c + f846d07 commit 4f20c25
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 4f20c25

Please sign in to comment.