From d63dd2072b62044a9fe56dd9ceffdee75a2602bc Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Tue, 9 Jan 2024 07:03:22 -0500 Subject: [PATCH] Add argument to textobject in gdscript. Currently `maa` only selects parameters in a function definition. Allow it to also select arguments inside a function call. --- runtime/queries/gdscript/textobjects.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/queries/gdscript/textobjects.scm b/runtime/queries/gdscript/textobjects.scm index 089544682978..47512bba785d 100644 --- a/runtime/queries/gdscript/textobjects.scm +++ b/runtime/queries/gdscript/textobjects.scm @@ -13,5 +13,7 @@ (typed_default_parameter) ] @parameter.inside @parameter.around) +(arguments (_expression) @parameter.inside @parameter.around) + (comment) @comment.inside (comment)+ @comment.around