# Lua Language Server

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

Source: https://talira.ai/catalog/lua-language-server-ycwn6cx7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / language servers](https://talira.ai/categories/developer-tools/language-servers)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [LuaLS](https://talira.ai/orgs/luals.md)

A language server for [Lua](https://talira.ai/catalog/lua-0jn3nbkb.md) 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.

## Links

- Website: https://luals.github.io/
- GitHub: https://github.com/LuaLS/lua-language-server
- Docs: https://luals.github.io/wiki/

## 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

## Trust

Overall: 0.54 out of 1.
Signals: maintenance 0.61, adoption 0.73, momentum 0.50, community 0.90, backing 0.30, extensibility 0.00.

- last commit 35 days ago
- 24 commits in the last 90 days
- latest release 3.19.2 42 days ago
- 4.4k GitHub stars
- 174 contributors
- accepts sponsorship (Custom, Custom)
- backed by LuaLS

## Alternatives

- [Pyrefly](https://talira.ai/catalog/pyrefly-s1pv2yrr.md): A fast type checker and language server for Python, written in Rust
- [Eclipse JDT Language Server](https://talira.ai/catalog/eclipse-jdt-language-server-nq7yy42f.md): A Java language server that works with any editor speaking the Language Server Protocol
- [YAML Language Server](https://talira.ai/catalog/yaml-language-server-d780ae8j.md): YAML validation, completion and hover over the Language Server Protocol
- [Metals](https://talira.ai/catalog/metals-56qr6f98.md): Scala language server with rich IDE features

## Sources

[^1]: https://github.com/LuaLS/lua-language-server (checked 24 Nov 2026)
[^2]: https://github.com/LuaLS/lua-language-server/blob/master/LICENSE (checked 24 Nov 2026)
