haldis/etc/vscode/syntaxes/injections.json
Midgard b44d34003d
Make whitespace match convention
Convention according to our EditorConfig.
2020-02-29 17:37:33 +01:00

37 lines
537 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"
}
}
}