Skip to content

Commit

Permalink
Add argument to textobject in gdscript. (helix-editor#9288)
Browse files Browse the repository at this point in the history
Currently `maa` only selects parameters in a function definition.
Allow it to also select arguments inside a function call.
  • Loading branch information
rcorre authored and mtoohey31 committed Jun 2, 2024
1 parent 045150e commit 70f4815
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/queries/gdscript/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
(typed_default_parameter)
] @parameter.inside @parameter.around)

(arguments (_expression) @parameter.inside @parameter.around)

(comment) @comment.inside
(comment)+ @comment.around

0 comments on commit 70f4815

Please sign in to comment.