mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
Add region blocks as a language scope for themes (#800)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user