3 ms·
Thankfully, you can get LSP-powered completion with coc.nvim, just like in VSC. It's miles better than YouCompleteMe, plus it's much easier to install—you can j
by pkage 6y ago
Thankfully, you can get LSP-powered completion with coc.nvim, just like in VSC. It's miles better than YouCompleteMe, plus it's much easier to install—you can just use vim-plug or similar to install it.
LSP is truly one of those "rising tide lifting all boats" projects.
[0] https://github.com/neoclide/coc.nvim https://github.com/neoclide/coc.nvim
- daotoad 6y agoI was using YCM and ALE to handle completion, but having switched to COC I won't look back. It's just a much better experience.
- scruple 6y agoFWIW, neovim's built-in LSP (nvim-lspconfig -- written in Lua, currently in beta) is _outstanding_ and I have already replaced coc.nvim with it in my neovim set up. Set up is super simple, there are 2 extensions to install. Configuration is simple, I think I needed maybe 8 lines added to my `init.vim`. With that I get completion and in-line diagnostics and it's very, very fast, at least with solargraph, clangd, and tsserver.