Closed metal3d closed 2 months ago
First, sonarlint.nvim didn't use coc.nvim but nvim's built-in language client.
You don't need extensions to run language server with coc.nvim, just setup with languageserver
in coc-settings.json is enough. But some servers, for example sonarlint-language-server, implements some off-spec requests like sonarlint/getJavaConfig
, you need an extension to send off-spec request and handle the response.
Is your feature request related to a problem? Please describe. I'm using Mason to install some LSP and sometimes they need plugins for some reasons that a standard user don't understand. For example, using sonarlint-language-server
Checking the outputs from CocList services, I see that the LSP is running. But it doesn't give any information on the buffer.
Same for helm-ls.
For both, I needed to install a plugin (
vim-helm
,sonarlint.vim
...)It's unclear to know if we misconfigured the LSP and why nothing appears on the current file.
Note that some others LSP are OK, for example, even without
coc-go
, I can configuregopls
in the CoC settings and it works.Describe the solution you'd like Maybe explaining why some LSP are running but needs specific plugin to display information. Or, if there is actually a configuration to fix this, provide the explanation ;)
Describe alternatives you've considered At this time, no alternatives. I probably misunderstand some mechanisms of LSP and CoC.