Details
Syntax highlighting for JSON, as a Tree-sitter grammar (WebAssembly) and a highlight query. It ships with Loog.
You can change how JSON is coloured without touching this extension: put a
highlights.scm for the json grammar in your own queries folder. Start the file
with ; extends to add rules to the ones here; without it, your file replaces them.
Use Inspect Highlight at Cursor to see which rule colours a place.
Contributions
Syntax highlighting
| Grammar | File types |
|---|---|
| json | jsonjsoncgeojsonwebmanifest |
Changelog
0.1.3
- Changed the extension category from Languages to Syntax Highlighting.
0.1.2
- The manifest names what the extension is for:
contributes.highlightreplacescontributes.languages. The grammar and queries are unchanged; this needs a Loog that reads the new name.
0.1.1
- The extension builds itself; nothing in what it contains changed.
0.1.0
- Moved out of Loog's core into the loog-extensions repository.