# zigtools/zls

A language server for Zig supporting developers with features like autocomplete and goto definition

Repository: https://github.com/zigtools/zls
Canonical: https://ross.abutalabs.com/products/zls
Homepage: https://zigtools.org/zls/install/
Language: Zig
License: MIT
License Family: permissive
Topics: zig, zls, language-server, lsp, lsp-server
Last push: 2026-08-14T13:32:08+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 56, longevity 100
- inputs: {"age_days": 2322, "days_push": 19, "days_rel": 139, "gap_med": 132, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5092, forks 445 (observed 2026-08-28T04:09:09.634414+00:00)

## What it is
ZLS is a non-official Language Server Protocol implementation for Zig, written in Zig. It provides IDE features such as autocomplete, goto definition, diagnostics, formatting, and semantic highlighting in any LSP-compatible editor.

## Use cases
- add zig autocomplete to my editor
- goto definition for zig code
- zig language server for neovim
- format zig code on save
- find references and rename zig symbols
- zig inlay hints and semantic highlighting

## When to choose
- you write Zig and want IDE features in any LSP-capable editor
- you want diagnostics, formatting, and code navigation for Zig
- you need a language server that tracks Zig releases closely

## When to avoid
- you don't write Zig
- you need full comptime or semantic analysis support, which is still work-in-progress
- you require a stable API independent of Zig version churn - ZLS must stay in sync with your Zig version

## Facets
- artifact type: library
- maturity: active
- function: editor, developer-tools, documentation
- domain: developer-tools, programming-languages, text-editors
- platform: cross-platform, cli, editor-plugin
- tags: zig, lsp, language-server, ide, autocomplete, code-analysis

## Member repositories
- zigtools/zls (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.634414+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:02:31.911799+00:00, confidence not recorded.
  - readme: https://github.com/zigtools/zls (fetched 2026-08-28T04:09:09.634414+00:00, sha ed024181d2c4)
  - homepage: https://zigtools.org/zls/install/ (fetched 2026-08-29T08:57:17.613592+00:00, sha d976c301e045)
  - site_page: https://zigtools.org/zls/releases (fetched 2026-08-29T08:57:17.616068+00:00, sha 52327efd9797)
- Data as of 2026-08-30T08:39:29.467469+00:00.
