From lsp
Zig Language Server (zls) provides code intelligence for Zig — diagnostics, completions, go-to-definition, and hover information for .zig and .zon files.
Ships in lsp. Installing the plugin adds it to Claude Code.
This LSP server requires zls to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"zls": {
"command": "zls",
"extensionToLanguage": {
".zig": "zig",
".zon": "zig"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
zlsstdioInitialization options and workspace settings
Initialization Options:
{
"enable_build_on_save": true
}7-day visitors to each server page
npx claudepluginhub mattrobenolt/pi-configs --plugin lsp