We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741ee83 commit a58d0e4Copy full SHA for a58d0e4
1 file changed
syntaxes/GDScript.tmLanguage.json
@@ -366,10 +366,11 @@
366
}
367
},
368
"class_is": {
369
- "match": "\\s+(is)\\s+([a-zA-Z_]\\w*)",
+ "match": "\\s+(is)\\s+(not?)\\s+\\s+([a-zA-Z_]\\w*)",
370
"captures": {
371
"1": { "name": "storage.type.is.gdscript" },
372
- "2": { "name": "entity.name.type.class.gdscript" }
+ "2": { "name": "storage.type.not.gdscript" },
373
+ "3": { "name": "entity.name.type.class.gdscript" }
374
375
376
"class_enum": {
@@ -507,7 +508,7 @@
507
508
"1": { "name": "keyword.language.gdscript storage.type.function.gdscript" },
509
"2": { "name": "entity.name.function.gdscript" }
510
- "end": "(:)",
511
+ "end": "(:)|\n",
512
"endCaptures": { "1": { "name": "punctuation.section.function.begin.gdscript" } },
513
"patterns": [
514
{ "include": "#parameters" },
0 commit comments