From 0a3c319879b731b121cbf454d72a97b4f96c37e3 Mon Sep 17 00:00:00 2001 From: Arron <87488315+GreenArron@users.noreply.github.com> Date: Sat, 22 Feb 2025 22:16:32 +0330 Subject: [PATCH] Add region blocks as a language scope for themes (#800) --- syntaxes/GDScript.tmLanguage.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/syntaxes/GDScript.tmLanguage.json b/syntaxes/GDScript.tmLanguage.json index 47a3a42..78aceea 100644 --- a/syntaxes/GDScript.tmLanguage.json +++ b/syntaxes/GDScript.tmLanguage.json @@ -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",