Skip to content

Commit

Permalink
Add Rust fields as argument textobject (helix-editor#9637)
Browse files Browse the repository at this point in the history
* added field_declaration_list and field_initializer_list as parameter textobjects

* removed field_declaration_listt from textobjects.scm
  • Loading branch information
uek-1 authored and cosmikwolf committed Feb 26, 2024
1 parent 417926b commit 3648853
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/queries/rust/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
(arguments
((_) @parameter.inside . ","? @parameter.around) @parameter.around)

(field_initializer_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)

[
(line_comment)
(block_comment)
Expand Down

0 comments on commit 3648853

Please sign in to comment.