Build

Instructions for building the Lua Language Server from source.

  1. Install Ninja
  2. Ensure you have C++17
  3. Clone the language server
    Shell
    git clone https://github.com/LuaLS/lua-language-server
    cd lua-language-server
  4. Run the make script for your OS:
Visual Basic
.\make.bat
Shell
./make.sh
Shell
./make.sh
Note

If you are receiving a compile error similar to cannot find -lstdc++ when running a make script, you may need to install libstdc++. On Fedora Linux or similar, you can do this by running the following:

Shell
dnf install libstdc++-static