talira

Lua Language Server

A language server for Lua with type checking, completion and diagnostics, written in Lua

open sourceMITfree

A language server for Lua 5.1 to 5.5 and LuaJIT, written in Lua, that works in any editor that speaks the Language Server Protocol: VS Code through its sumneko.lua extension, Neovim, JetBrains IDEs through a plugin, or from the command line. It gives completion, go to definition, find references, renaming, hover details, syntax and type errors from a type system made for Lua, more than 20 annotations for documenting code, definition files for libraries, a built-in formatter, spell checking, plugins and documentation generation in Markdown and JSON. MIT licensed.

Problems it solves

  • get autocomplete and type errors for my Lua code in my editor
  • catch mistakes in Lua scripts before running them
  • document Lua functions so my editor knows their parameter types

Features

  • completion, go to definition, find references and renaming for Lua
  • type checking with a type system made for Lua
  • more than 20 annotations for documenting code
  • built-in formatter and spell checking
  • documentation generation in Markdown and JSON
  • plugins and library definition files

Alternatives

The same job

These do what Lua Language Server does.

  1. Pyrefly A fast type checker and language server for Python, written in Rust
  2. Eclipse JDT Language Server A Java language server that works with any editor speaking the Language Server Protocol
  3. YAML Language Server YAML validation, completion and hover over the Language Server Protocol
  4. Metals Scala language server with rich IDE features

Compare Lua Language Server with the top 3