From 84d4c68c63abfa56c0b7457879f6e7ff681a000e Mon Sep 17 00:00:00 2001 From: D4r3N Date: Sat, 22 Aug 2026 12:43:29 +0200 Subject: [PATCH] Highlight when as a control-flow keyword --- languages/gdscript/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages/gdscript/highlights.scm b/languages/gdscript/highlights.scm index 685373a..50fae73 100644 --- a/languages/gdscript/highlights.scm +++ b/languages/gdscript/highlights.scm @@ -191,6 +191,7 @@ "else" "elif" "match" + "when" "while" "for" "return" @@ -199,7 +200,7 @@ "await" "pass" (breakpoint_statement) -] @keyword.control +] @keyword @keyword.control ; Operator [