-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoCoverage fails with cannot find package '-coverprofile' #899
Comments
Hi @sir-wiggles Just discovered this myself too in |
Alright it's broken due this line: https://github.com/fatih/vim-go/pull/869/files#diff-a3998a862a20bc1665a15c84f401349fR200 Not sure how to fix it without pulling it out. We only need to escape the file after |
Neovim didn't like escaping it. Just disable it. Closes #899
The fix in master. Thanks for the feedback. |
Wow you're fast! I was taking my first dive into vim scripting with this and was WAY off. 😛 Thanks for the amazing work! |
Actual behavior
Executing :GoCoverage causes the following error:
Expected behavior
Coverage report to overlay buffer
Steps to reproduce:
Minimal main.go
Minimal main_test.go
:GoCoverage
Configuration
I can run coverage outside of vim just fine.
:GoTest
works as expectedI know support for
neovim
is inbeta
but I poked around in thecoverage.vim
file and saw conditions fornvim
so figured that it may be supported. That's about the extent of myvimscript
debugging sadly.vimrc
you used to reproduceneovim 0.1.4
vim-go 1.7.1
go version go1.6.2 darwin/amd64
The text was updated successfully, but these errors were encountered: