Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/gdscript/highlights.scm')
-rw-r--r--runtime/queries/gdscript/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/gdscript/highlights.scm b/runtime/queries/gdscript/highlights.scm
index 37aa3d62..fee67dc9 100644
--- a/runtime/queries/gdscript/highlights.scm
+++ b/runtime/queries/gdscript/highlights.scm
@@ -14,6 +14,7 @@
(attribute_call (identifier) @function)
(base_call (identifier) @function)
(call (identifier) @function)
+(lambda (name) @function)
; Function definitions
@@ -88,6 +89,7 @@
"<<"
">>"
":="
+ ":"
] @operator
(annotation (identifier) @keyword.storage.modifier)
@@ -97,6 +99,7 @@
"else"
"elif"
"match"
+ "when"
] @keyword.control.conditional
[