diff options
author | Ryan Roden-Corrent | 2024-01-28 09:19:25 +0000 |
---|---|---|
committer | GitHub | 2024-01-28 09:19:25 +0000 |
commit | fe443910160e145c69f32a028b313d6f596e3fbe (patch) | |
tree | 7f79a0c49d2f3216e34fa9902c14927ff5f92352 | |
parent | ee68fd09ac51b613061d6eb0680d8d42cc21260e (diff) |
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.
-rw-r--r-- | runtime/queries/gdscript/textobjects.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/gdscript/textobjects.scm b/runtime/queries/gdscript/textobjects.scm index 08954468..47512bba 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 |