Course
Free Trial: 4 lessons remaining
Unlock Full Access
Lesson
Beginner
5 min
Adding Another Language Server
Language Server Protocol (LSP)
So we've set up our three main plugins to facilitate LSP functionality in Neovim, and we used these plugins to install and configure our first language server. How do we add more?
It's simple really, here are the steps:
- Use Mason to install the language server you want. Lets say we want
tsserver. We install that with Mason by running:MasonInstall tsserver. Alternatively we could open mason using the:Masoncommand and install manually from there - we configure our new language server in our
lsp-configlua file. we add another entry for our language server we just installed:
lspconfig.tsserver.setup({
capabilities = capabilities
})
Lesson complete
Finished less than a minute ago