https://github.com/agent-sh/zig-lsp
Zig LSP plugin for Claude Code (via ZLS) — agent-sh marketplace
https://github.com/agent-sh/zig-lsp
agentic-ai ai-coding ai-coding-assistant anthropic claude claude-code claude-code-marketplace claude-code-plugin claude-code-plugin-marketplace claude-code-plugins code-intelligence developer-tooling language-server language-server-protocol lsp zig zig-language-server zig-tools ziglang zls
Last synced: 14 days ago
JSON representation
Zig LSP plugin for Claude Code (via ZLS) — agent-sh marketplace
- Host: GitHub
- URL: https://github.com/agent-sh/zig-lsp
- Owner: agent-sh
- License: mit
- Created: 2026-04-25T22:53:31.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-30T09:46:25.000Z (14 days ago)
- Last Synced: 2026-05-30T11:22:00.209Z (14 days ago)
- Topics: agentic-ai, ai-coding, ai-coding-assistant, anthropic, claude, claude-code, claude-code-marketplace, claude-code-plugin, claude-code-plugin-marketplace, claude-code-plugins, code-intelligence, developer-tooling, language-server, language-server-protocol, lsp, zig, zig-language-server, zig-tools, ziglang, zls
- Size: 55.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# agent-sh / zig-lsp
A Claude Code marketplace hosting the [`zig-lsp`](plugins/zig-lsp) plugin — Zig language support via [ZLS](https://github.com/zigtools/zls).
## Install
```
/plugin marketplace add agent-sh/zig-lsp
/plugin install zig-lsp@agent-sh
```
Open a `.zig` or `.zon` file. Claude Code reports diagnostics from `zls` automatically after every edit, and the `LSP` tool gives the model jump-to-definition, find-references, and hover.
You must have `zls` installed and on `PATH`. See [`plugins/zig-lsp/README.md`](plugins/zig-lsp/README.md) for setup, configuration, and troubleshooting.
## What this is
Claude Code's `LSP` tool dispatches to language-specific plugins. There are 11 official LSP plugins shipped by Anthropic; Zig isn't one of them yet. This plugin fills the gap with a thin manifest pointing at user-installed `zls`.
## Layout
```
.
├── .claude-plugin/
│ └── marketplace.json # Marketplace metadata + ZLS server config
│ (lspServers block — this is what Claude
│ Code actually reads to register the LSP)
├── plugins/
│ └── zig-lsp/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin identity (name, version, license)
│ ├── .lsp.json # ZLS server config — copied to user's
│ │ cache on install; this is what the
│ │ LSP runtime loader actually reads
│ └── README.md # User-facing setup + troubleshooting
├── agent-knowledge/ # Research notes for contributors
├── .agnix.toml # agnix config (target: claude-code)
├── .github/workflows/ # agnix CI on push and PR
├── CHANGELOG.md
├── CONTRIBUTING.md
├── CLAUDE.md / AGENTS.md # Project memory (byte-identical)
├── LICENSE
└── README.md
```
## Contributing
Issues and PRs welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for local setup, validation, and the version-bump policy. The research notes in [`agent-knowledge/`](agent-knowledge/) document how Claude Code integrates LSP plugins, the `.lsp.json` schema, the contribution flow, and known pitfalls — useful background before opening a substantial PR.
## Changelog
See [CHANGELOG.md](CHANGELOG.md). Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## License
MIT — see [LICENSE](LICENSE).