From 3f41d76c0911f10e183f2a92946599361be6970c Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Sun, 28 Jan 2024 04:19:25 -0500 Subject: [PATCH] Add argument to textobject in gdscript. (#9288) 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