I'm trying to configure LSP in Neovim using lsp-config. I need to install lua-language-server
to make the Lua LSP work, but I don't know how to install lua-language-server
on Linux. The official documentation only shows how to install it for macOS and Windows.
Could you help me install it?
Ultimately, lua-language-server
should be available in the terminal so that lsp-config
can use it.
The easiest way that I found is to use brew
package manager.
$PATH
. (It will be suggested at the end of the Brew installation. Just copy-paste)brew
after setting the $PATH
brew install lua-language-server
in terminallua-language-server
(just to check if it is installed correctly)lua-luangage-server
(Ctrl + C)