t-yuki/vim-go-coverlay

Getting "Not enough arguments" on saving .go files

shadyabhi opened this issue · 2 comments

Hi,

I added the following code to my .vimrc.

au FileType go nmap <leader>c <Plug>(go-coverlay) "test coverage then overlay covered lines
au FileType go nmap <leader>C <Plug>(go-clearlay) "clear overlay

au BufWritePost *.go call go#coverlay#Coverlay() "run test and cover on file save

And now, I get this error while saving the .go files. Any clues on how to debug this?

Error detected while processing BufWritePost Auto commands for "*.go":
E119: Not enough arguments for function: go#coverlay#Coverlay

This plugin has been merged to vim-go master.
Could you try it?

Okay, I'll go ahead and close this one then. Thanks