josa42 / coc-go

Go language server extension using gopls for coc.nvim.
MIT License
566 stars 30 forks source link

[coc.nvim] checking for a new gopls version failed #213

Open TheEdgeOfRage opened 1 year ago

TheEdgeOfRage commented 1 year ago

I'm occasionally getting this error when I open nvim, I assume it checks for a new version every so often and it "fails" every time. The thing is, I don't think it's actually failing. I tried deleting ~/.config/coc/extensions/coc-go-data and letting it reinstall everything, which it did, but still printed the error. gopls is working fine, so I think the error is not actually an error.

I run the latest versions of coc.nvim and coc-go in NeoVim 0.9.2.

timsu92 commented 9 months ago

I guess there's something failed, but little. I'm facing the same situation: add coc-go into the extension list to be installed by coc, and coc installed for me, and I see this error. From readme, it suggests us to format on save. When I save my code, it fails to format.

After that, I issue the command to reinstall all tools:

:CocCommand go.install.tools

Althought it seems that nothing done (it says everything is installed), but formatting function is working now🎉