# LuaLS/lua-language-server

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

Repository: https://github.com/LuaLS/lua-language-server
Canonical: https://ross.abutalabs.com/products/lua-language-server
Homepage: https://luals.github.io
Language: Lua
License: MIT
License Family: permissive
Topics: lua, language-server, lpeg, lpeglabel, lsp, lsp-server, hacktoberfest
Last push: 2026-08-26T14:18:23+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 2917, "days_push": 7, "days_rel": 20, "gap_med": 9.0, "n_releases_24m": 27}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4347, forks 435 (observed 2026-08-28T04:08:46.227497+00:00)

## What it is
A Language Server Protocol implementation for Lua, written in Lua, providing features like autocompletion, type checking, diagnostics, formatting, and go-to-definition. It works with any LSP-compatible editor such as VS Code and Neovim.

## Use cases
- get Lua autocompletion and hover docs in my editor
- type check my Lua codebase
- lint and format Lua code
- rename Lua symbols across a project
- generate documentation from Lua annotations
- set up Lua language support in Neovim

## When to choose
- you write Lua in VS Code, Neovim, or any LSP-capable editor
- you need type checking and diagnostics for Lua 5.1 through 5.5 or LuaJIT
- you want annotation-based documentation generation for Lua

## When to avoid
- you need language support for a language other than Lua
- your editor does not support the Language Server Protocol

## Facets
- artifact type: application
- maturity: stable
- function: linter, formatter, editor, type-system, documentation, developer-tools
- domain: programming-languages, developer-tools, text-editors, parsers
- platform: cross-platform, editor-plugin, cli, windows
- tags: lua, language-server-protocol, lsp, type-checking, autocompletion, diagnostics, neovim, vscode, linux, macos

## Member repositories
- LuaLS/lua-language-server (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.227497+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:33.627066+00:00, confidence not recorded.
  - readme: https://github.com/LuaLS/lua-language-server (fetched 2026-08-28T04:08:46.227497+00:00, sha bb3e2e138f32)
  - homepage: https://luals.github.io (fetched 2026-08-29T09:10:16.668614+00:00, sha 3c807f42cc8d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
