Adds support for GABC/NABC (Gregorian chant notation) files to Zed.
- Syntax Highlighting — Full highlighting for GABC headers, pitches, clefs, neumes, bars, alterations, style tags, NABC notation, and comments.
- LaTeX Injection — TeX code inside
<v>…</v>tags and verbatim attributes ([nv:…],[gv:…],[ev:…]) gets LaTeX highlighting. - Bracket Matching — Auto-matching for
(),[],{}, and<>. - Code Outline — Headers appear in the document outline/symbols panel.
- Language Server — Diagnostics, hover, completion, and document symbols via gregorio-lsp.
For Language Server features (diagnostics, hover, completions):
Install gregorio-lsp via Cargo:
cargo install --git https://github.com/aiscgre-br/gregorio-lsp \
--tag v0.7.0 --bin gregorio-lspMake sure ~/.cargo/bin is in your PATH. Syntax highlighting works without any prerequisites.
Search for "Gregorio" in Zed → Extensions.
- Clone this repository
- In Zed, run
zed: install dev extensionand select the cloned directory
This extension uses tree-sitter-gregorio (v0.5.2, commit c9034de8), a complete tree-sitter grammar for GABC+NABC notation compatible with Gregorio 6.2.0.
MIT — Copyright (c) 2026 AISCGre Brasil. See LICENSE.