I have a grammar that uses injectionSelector. It works with VSCode, but I can't seem to make it work with Giallo/Zola.
For example, this tries to highlight "logic" as a keyword within the existing rust syntax:
{
"name": "creusot-rust",
"scopeName": "rust.creusot",
"injectionSelector": "L:source.rust -string -comment",
"patterns": [
{ "match": "logic", "name": "keyword" },
]
}
What am I missing?
I have a grammar that uses
injectionSelector. It works with VSCode, but I can't seem to make it work with Giallo/Zola.For example, this tries to highlight "logic" as a keyword within the existing
rustsyntax:{ "name": "creusot-rust", "scopeName": "rust.creusot", "injectionSelector": "L:source.rust -string -comment", "patterns": [ { "match": "logic", "name": "keyword" }, ] }What am I missing?