mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-05 14:10:13 +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": "#square_braces" },
|
||||||
{ "include": "#round_braces" },
|
{ "include": "#round_braces" },
|
||||||
{ "include": "#function_call" },
|
{ "include": "#function_call" },
|
||||||
|
{ "include": "#region"},
|
||||||
{ "include": "#comment" },
|
{ "include": "#comment" },
|
||||||
{ "include": "#self" },
|
{ "include": "#self" },
|
||||||
{ "include": "#func" },
|
{ "include": "#func" },
|
||||||
@@ -83,6 +84,10 @@
|
|||||||
{ "include": "#line_continuation" }
|
{ "include": "#line_continuation" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"region": {
|
||||||
|
"match": "#(end)?region.*$\\n?",
|
||||||
|
"name": "keyword.language.region.gdscript"
|
||||||
|
},
|
||||||
"comment": {
|
"comment": {
|
||||||
"match": "(##|#).*$\\n?",
|
"match": "(##|#).*$\\n?",
|
||||||
"name": "comment.line.number-sign.gdscript",
|
"name": "comment.line.number-sign.gdscript",
|
||||||
|
|||||||
Reference in New Issue
Block a user