haldis/etc/vscode/syntaxes/injections.json

37 lines
759 B
JSON
Raw Normal View History

2020-02-24 20:47:21 +01:00
{
"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"
}
}
}