File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 293293 "keywords" : {
294294 "patterns" : [
295295 {
296- "match" : " \\ b(if|else|while|for|foreach|in|do|return|continue|break|switch|case|default|goto|throw|try|catch|finally|lock|yield|await)\\ b" ,
296+ "match" : " \\ b(if|else|while|for|foreach|in|do|return|continue|break|switch|case|default|goto|throw|try|catch|finally|lock|yield|await|when )\\ b" ,
297297 "name" : " keyword.control.cs"
298298 },
299299 {
300300 "match" : " \\ b(from|where|select|group|into|orderby|join|let|on|equals|by|ascending|descending)\\ b" ,
301301 "name" : " keyword.linq.cs"
302302 },
303303 {
304- "match" : " \\ b(new|is|as|using|checked|unchecked|typeof|sizeof|override|readonly|stackalloc)\\ b" ,
304+ "match" : " \\ b(new|is|as|using|checked|unchecked|typeof|sizeof|override|readonly|stackalloc|nameof )\\ b" ,
305305 "name" : " keyword.operator.cs"
306306 },
307307 {
313313 "name" : " storage.type.var.cs"
314314 },
315315 {
316- "match" : " [@]\\ b(var|event|delegate|add|remove|set|get|value|new|is|as|using|checked|unchecked|typeof|sizeof |override|readonly|stackalloc|from|where|select|group|into|orderby|join|let|on|equals|by|ascending|descending |if|else|while|for|foreach|in|do|return|continue|break|switch|case|default|goto|throw|try|catch|finally|lock|yield|await)\\ b" ,
316+ "match" : " [@]\\ b(var|event|delegate|add|remove|set|get|value|new|is|as|using|checked|unchecked|typeof|sizeof|nameof|when |override|readonly|stackalloc|from|where|select|group|into|orderby|join|let|on|equals|by|ascending|descending |if|else|while|for|foreach|in|do|return|continue|break|switch|case|default|goto|throw|try|catch|finally|lock|yield|await)\\ b" ,
317317 "name" : " meta.class.body.cs"
318318 }
319319 ]
563563 "name" : " storage.modifier.cs"
564564 }
565565 }
566- }
566+ }
You can’t perform that action at this time.
0 commit comments