No description
- C 68.3%
- C++ 26.3%
- JavaScript 4.2%
- Tree-sitter Query 1.2%
Zed requires every outline item to also carry a @name capture; without it the query failed to load (logged as "missing required capture(s) ... name"), which broke language query loading for the extension entirely, including highlighting. |
||
|---|---|---|
| languages/hotcrp | ||
| src | ||
| .gitignore | ||
| extension.toml | ||
| grammar.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tree-sitter.json | ||
zed-hotcrp
A Zed extension for HotCRP offline review files.
Features:
- syntax highlighting for HotCRP marker lines (
==+==,==*==,==-==, etc.) - outline entries for paper and field markers
- common filename associations such as
hotcrp.txt,review.txt, andreviews.txt
Read-only template lines
HotCRP asks reviewers not to edit template/control lines such as ==*== and
==-==. This extension highlights those lines distinctly, but Zed language
extensions do not currently expose an API for making arbitrary line ranges
read-only.
Development
Install as a dev extension from this directory in Zed. If you need to regenerate the parser locally:
cd grammars/hotcrp
npm install
npx tree-sitter generate