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.
Here's the way for choosing "B. From latest release" from github.
.gz
file that meets your architecture.~/.local/share/lua-lang-server
. You can choose other place for them.mkdir -p ~/.local/share/lua-lang-server && \
tar --extract --file <YOUR .gz FILE> -av -C ~/.local/share/lua-lang-server
~/.local/bin
to the executable.ln -s ~/.local/share/lua-lang-server/bin/lua-language-server ~/.local/bin/lua-language-server
lua-language-server
.lua-language-server
, then you have to append ~/.local/bin
to the environment variable PATH
.export PATH=$PATH:~/.local/bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With