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 dgkf committed Jan 30, 2024
1 parent b982d66 commit 3f41d76
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 3f41d76

Please sign in to comment.