Skip to content

Commit 9d40346

Browse files
TewanStefanH-AT
authored andcommitted
Add variable matching to qc syntax
1 parent 3bb78d5 commit 9d40346

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

syntaxes/qc.tmLanguage.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
{
77
"include": "source.kv#comment"
88
},
9+
{
10+
"include": "#variable"
11+
},
912
{
1013
"include": "#blockComment"
1114
},
@@ -31,6 +34,10 @@
3134
"begin": "/\\*",
3235
"end": "\\*/",
3336
"name": "comment.block"
37+
},
38+
"variable": {
39+
"match": "-?\\$\\w+\\$",
40+
"name": "variable.name"
3441
}
3542
}
3643
}

0 commit comments

Comments
 (0)