0

I'm a begginer in vim/neovim world.

I understand that lsp is for autocompletion, auto import, signature info, etc...

So I have installed coc.nvim.

But I have some question about the concept :

  • if I have coc.nvim is usefull to setup the builtin lsp with nvim-lspconfig ?
  • if I add another lsp like coq_nvim or lspsaga is a good or a bad idea ? Will it create conflicts?

1 Answer 1

0

In order to use the LSP functionality of coc.nvim you have to install the corresponding LSP for the language(s) you use.

For Python you can type the following vim command to install the recommended coc LSP (Coc-Pyright):

:CocInstall coc-pyright

For Rust you can type the following vim command to install the recommended coc LSP:

:CocInstall coc-rls

For TypeScript you can type the following vim command to install the recommended coc LSP:

:CocInstall coc-tsserver

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.