Zed editor extension for Holocron — a declarative schema and query compiler.
Registers holocron-lsp as a language server for *.holocron.yaml files, so
schema errors (unknown columns, duplicate aliases, unknown types, etc.) show
as live red squiggles in the editor — pointing at the exact YAML token at
fault, with the same rustc-style diagnostics you get from the CLI.
cargo install holocron-lsp
# or
brew install holocron-lang/holocron/holocron-lspOpen Zed → zed: extensions (command palette) → search for Holocron →
Install.
- Syntax highlighting (the YAML tree-sitter grammar — same as any other YAML).
- Live diagnostics from
holocron-lspon every keystroke. - Diagnostics include source spans + "did you mean" / "available items" notes.
This extension declares a new "Holocron" language whose path_suffixes cover
*.holocron.yaml and *.holocron.yml. The language uses the built-in YAML
tree-sitter grammar for highlighting, and the extension wires up holocron-lsp
(resolved from your PATH) as its language server.
\holocron-lsp` not found on PATH`
Install the binary using one of the commands in Install above, then restart Zed (so the extension re-runs the binary lookup).
rustup target add wasm32-wasip1
cargo build --target wasm32-wasip1 --release
# Then in Zed: zed: install dev extension → point at this directoryMPL-2.0 — matches the parent project.