Add region blocks as a language scope for themes (#800)

This commit is contained in:
Arron
2025-02-22 22:16:32 +03:30
committed by GitHub
parent 3f7a944e96
commit 0a3c319879

View File

@@ -74,6 +74,7 @@
{ "include": "#square_braces" },
{ "include": "#round_braces" },
{ "include": "#function_call" },
{ "include": "#region"},
{ "include": "#comment" },
{ "include": "#self" },
{ "include": "#func" },
@@ -83,6 +84,10 @@
{ "include": "#line_continuation" }
]
},
"region": {
"match": "#(end)?region.*$\\n?",
"name": "keyword.language.region.gdscript"
},
"comment": {
"match": "(##|#).*$\\n?",
"name": "comment.line.number-sign.gdscript",