File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 26
26
{
27
27
"include" : " #section_start_for_tag"
28
28
},
29
+ {
30
+ "include" : " #section_start_case_is_tag"
31
+ },
29
32
{
30
33
"include" : " #section_start_default_tag"
31
34
},
245
248
}
246
249
]
247
250
},
251
+ "section_start_case_is_tag" : {
252
+ "begin" : " ({)(#)((case|is)\\ b)" ,
253
+ "end" : " (})" ,
254
+ "beginCaptures" : {
255
+ "1" : {
256
+ "name" : " support.constant.qute"
257
+ },
258
+ "2" : {
259
+ "name" : " keyword.control"
260
+ },
261
+ "3" : {
262
+ "name" : " keyword.control"
263
+ }
264
+ },
265
+ "endCaptures" : {
266
+ "1" : {
267
+ "name" : " support.constant.qute"
268
+ }
269
+ },
270
+ "patterns" : [
271
+ {
272
+ "match" : " (?<={(#case|#is)\\ s+)(gt|ge|lt|le|not|ne|in|ni|!in|>|>=|<|<=|!=)(?=\\ s+\\ w+)" ,
273
+ "name" : " keyword.operator.qute"
274
+ },
275
+ {
276
+ "include" : " #code"
277
+ }
278
+ ]
279
+ },
248
280
"section_start_user_tag" : {
249
281
"begin" : " ({)(#)(\\ w+(\\ .\\ w+)*)" ,
250
282
"end" : " (\\ /)?((?<![\\\\ ])})" ,
You can’t perform that action at this time.
0 commit comments