File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1200
1200
},
1201
1201
"declaration" : {
1202
1202
"patterns" : [
1203
+ {
1204
+ "begin" : " \\ bvar\\ b" ,
1205
+ "beginCaptures" : {
1206
+ "0" : {
1207
+ "name" : " storage.type.var.c3"
1208
+ }
1209
+ },
1210
+ "end" : " ;" ,
1211
+ "endCaptures" : {
1212
+ "0" : {
1213
+ "name" : " punctuation.terminator.c3"
1214
+ }
1215
+ },
1216
+ "patterns" : [
1217
+ {
1218
+ "match" : " \\ $(?:_*[A-Z][_A-Z0-9]*[a-z][_a-zA-Z0-9]*)" ,
1219
+ "name" : " support.type.c3"
1220
+ },
1221
+ {
1222
+ "include" : " #declaration_after_type"
1223
+ }
1224
+ ]
1225
+ },
1203
1226
{
1204
1227
"begin" : " (?=\\ $(typeof|typefrom|vatype|evaltype)\\ b)" ,
1205
1228
"end" : " ;" ,
Original file line number Diff line number Diff line change @@ -619,6 +619,17 @@ repository:
619
619
620
620
declaration :
621
621
patterns :
622
+ - begin : \bvar\b
623
+ beginCaptures :
624
+ 0 : { name: storage.type.var.c3 }
625
+ end : ;
626
+ endCaptures :
627
+ 0 : { name: punctuation.terminator.c3 }
628
+ patterns :
629
+ # CT type
630
+ - match : ' \${{TYPE}}'
631
+ name : support.type.c3
632
+ - include : " #declaration_after_type"
622
633
- begin : ' (?=\$(typeof|typefrom|vatype|evaltype)\b)'
623
634
end : ;
624
635
endCaptures :
You can’t perform that action at this time.
0 commit comments