I’ve installed a few LSPs. I want to install all the popular ones to do it once and forget about it. So which ones do you have installed?
install_neovim_lsp() {
sudo npm i -g cssmodules-language-server vscode-langservers-extracted sql-language-server typescript typescript-language-server bash-language-server
pip install pyright
}
clangd
for C/C++ (via portage),gopls
for go (via go),texlab
for LaTeX (via cargo).It’s tangential, but what’s helped me has been this plugin https://github.com/williamboman/nvim-lsp-installer/.
Makes it very easy to install, find, and update any language server available for neovim
Unsure what went wrong on my end, but I spent a good 5h trying to get the native LSP implementation running, and the only language that worked wasn’t installed by Nvim Lsp Installer. Figured I’ll cut my losses and allow CoC’s bloat in to my life until I’m able to have a second go at it.
If it helps you see my init.vim. Just a reminder to add
~/.local/share/nvim/lsp_servers
to your $PATH so that any installed through thenvim-lsp-installer
plugin are found.Thanks, I’ll bookmark it for later!
Only rust-analyzer because I only work in rust (thankfully)