Skip to content

defold/lua-language-server

 
 

Repository files navigation

Defold's fork of lua language server

This language server works from the Defold editor and can be used to lint Defold projects. Learn more: https://forum.defold.com/t/linting-in-the-code-editor/72465

Notable changes

  1. Add build a defold library project and a build script that assembles it on release — use release.zip links as dependencies.
  2. Add text document and workspace diagnostics.
  3. Use LuaCheck for diagnostics.

Known issues

EmmyLua might trip over the source code of this project when it's extracted by the Defold editor to /build/plugins. The solution is to configure EmmyLua to ignore the build folder with this emmy.config.json file:

{
    "source": [
        {
            "dir": ".",
            "exclude": [
                "build/**"
            ]
        }
    ]
}

lua-language-server

build Version (including pre-releases) Installs Downloads

Lua development just got a whole lot better 🧠

The Lua language server provides various language features for Lua to make development easier and faster. With nearly a million installs in Visual Studio Code, it is the most popular extension for Lua language support.

See our website for more info.

Features

Install

The language server can be installed for use in Visual Studio Code, NeoVim, and any other clients that support the Language Server Protocol.

See installation instructions on our website.

Install in VS Code Install for NeoVim Other

Community Install Methods

The install methods below are maintained by community members.

asdf plugin

Links

If you find any mistakes, please report it or open a pull request if you have a fix of your own ❤️

如果你发现了任何错误,请告诉我或使用Pull Requests来直接修复。❤️

Available Languages

  • en-us 🇺🇸
  • zh-cn 🇨🇳
  • zh-tw 🇹🇼
  • pt-br 🇧🇷

Note All translations are provided and collaborated on by the community. If you find an inappropriate or harmful translation, please report it immediately.

Are you able to provide a translation? It would be greatly appreciated!

Thank you to all contributors of translations!

Privacy

The language server had opt-in telemetry that collected usage data and sent it to the development team to help improve the extension. Read our privacy policy to learn more. Telemetry was removed in v3.6.5 and is no longer part of the language server.

Contributors

GitHub Contributors Image

Credit

Software that the language server (or the development of it) uses:

About

A language server that offers Lua language support - programmed in Lua

Resources

License

Stars

Watchers

Forks

Languages

  • Lua 100.0%