Add Rust fields as argument textobject (#9637)

* added field_declaration_list and field_initializer_list as parameter textobjects

* removed field_declaration_listt from textobjects.scm
This commit is contained in:
Vivek Kethineni 2024-02-17 10:08:44 -06:00 committed by GitHub
parent 6ffe09e873
commit 3e963b3c1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,9 @@
(arguments (arguments
((_) @parameter.inside . ","? @parameter.around) @parameter.around) ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(field_initializer_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
[ [
(line_comment) (line_comment)
(block_comment) (block_comment)