diff options
author | Vivek Kethineni | 2024-02-17 16:08:44 +0000 |
---|---|---|
committer | GitHub | 2024-02-17 16:08:44 +0000 |
commit | 3e963b3c1b5eb4b5cd7f33b8ef6d6642de210a9b (patch) | |
tree | 1ca3a3717e02ba5f00b29fb345d854d27a2e9739 /runtime/queries/rust | |
parent | 6ffe09e873821c7232d1da23ea4642214e42a1e7 (diff) |
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
Diffstat (limited to 'runtime/queries/rust')
-rw-r--r-- | runtime/queries/rust/textobjects.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/rust/textobjects.scm b/runtime/queries/rust/textobjects.scm index 837f981e..df26331d 100644 --- a/runtime/queries/rust/textobjects.scm +++ b/runtime/queries/rust/textobjects.scm @@ -34,6 +34,9 @@ (arguments ((_) @parameter.inside . ","? @parameter.around) @parameter.around) +(field_initializer_list + ((_) @parameter.inside . ","? @parameter.around) @parameter.around) + [ (line_comment) (block_comment) |