Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/gdscript/textobjects.scm')
-rw-r--r--runtime/queries/gdscript/textobjects.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/gdscript/textobjects.scm b/runtime/queries/gdscript/textobjects.scm
index 47512bba..3a2775fe 100644
--- a/runtime/queries/gdscript/textobjects.scm
+++ b/runtime/queries/gdscript/textobjects.scm
@@ -5,6 +5,8 @@
(function_definition
(body) @function.inside) @function.around
+(lambda (body) @function.inside) @function.around
+
(parameters
[
(identifier)
@@ -15,5 +17,12 @@
(arguments (_expression) @parameter.inside @parameter.around)
+[
+ (const_statement)
+ (variable_statement)
+ (pair)
+ (enumerator)
+] @entry.around
+
(comment) @comment.inside
(comment)+ @comment.around