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 postsolar committed Apr 4, 2024
1 parent ecd310d commit cd3a9c0
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 cd3a9c0

Please sign in to comment.