haldis/etc/vscode/syntaxes/injections.json

36 lines
759 B
JSON

{
"scopeName": "comment.injection",
"injectionSelector": "L:embedded.meta.tag",
"patterns": [
{
"include": "#comment"
},
{
"include": "#header"
},
{
"include": "#links"
},
{
"include": "#brackets"
}
],
"repository": {
"comment": {
"match": "#.*$",
"name": "comment"
},
"header": {
"match": "^[a-zA-Z0-9_].*$",
"name": "keyword.todo"
},
"links": {
"match": "^\\t[a-zA-Z0-9-_]*",
"name": "keyword.todo"
},
"brackets": {
"match": "=",
"name": "variable.other"
}
}
}