packages/shared-skills/skills/lsp-setup/references/zig/README.md
zls — zls.zig .zonhttps://github.com/zigtools/zlsZLS (the Zig Language Server) must be built against the same Zig version you use.
See https://github.com/zigtools/zls.
brew install zlszig build -Doptimize=ReleaseSafe from the zls sourceConfirm it resolves:
command -v zls
Builtin — usually NO config needed (auto-resolved by extension). Configure only to set priority, init options, override extensions, or disable. Same JSON shape in .codex/lsp-client.json (Codex) AND .opencode/lsp.json (OpenCode/omo):
{ "lsp": { "zls": { "priority": 100 } } }
For builtin ids in a PROJECT config, command is supplied automatically — only set priority/initialization/extensions/disabled/env. A fully custom (non-builtin) server with its own command must go in the USER config (~/.codex/lsp-client.json).
None commonly required.
None.
zls must be on PATH; reopen the shell after install.zig for builds — make sure zig itself is also on PATH.bun ../../scripts/verify-lsp.ts path/to/file.zig