Visual Studio Code
Install the sumneko.lua extension to get up and running as fast as possible!
- Search for "Lua" by sumneko in the extension marketplace.
- Download and install the extension.
- That's it! It's that easy! Happy Coding!
Neovim
-
Install lua-language-server
-
From package manager
-
Scoop:
scoop install lua-language-server -
Homebrew:
brew install lua-language-server -
Macports:
sudo port install lua-language-server -
mise-en-place:
mise use aqua:LuaLS/lua-language-server
-
From latest release
- Build from scratch
-
Ensure that the
lua-language-server is executable
from the command line. It may need to be added to $PATH.
-
See Neovim's quickstart guide for language servers
JetBrains
Install the SumnekoLua plugin from the JetBrains Marketplace!
See JetBrains docs for instructions on installing plugins.
Other
The language server can also just be run from the command line,
allowing it to be used wherever the Language Server Protocol is supported!
-
Install lua-language-server
-
From package manager
-
Scoop:
scoop install lua-language-server -
Homebrew:
brew install lua-language-server -
Macports:
sudo port install lua-language-server -
mise-en-place:
mise use aqua:LuaLS/lua-language-server
-
From latest release
- Build from scratch
-
Run
./bin/lua-language-server and check out the supported arguments.