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
}
@savoy@lemmygrad.ml
link
fedilink
38 hilabete

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

Ninmi
link
fedilink
08 hilabete

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 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.

@savoy@lemmygrad.ml
link
fedilink
08 hilabete

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 the nvim-lsp-installer plugin are found.

Ninmi
link
fedilink
28 hilabete

Thanks, I’ll bookmark it for later!

@nachtigall@feddit.de
link
fedilink
08 hilabete

clangd for C/C++ (via portage), gopls for go (via go), texlab for LaTeX (via cargo).

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 22 users / day
  • 29 users / week
  • 50 users / month
  • 306 users / 6 months
  • 17 subscribers
  • 1.6K Posts
  • 5.08K Comments
  • Modlog