From 3e963b3c1b5eb4b5cd7f33b8ef6d6642de210a9b Mon Sep 17 00:00:00 2001 From: Vivek Kethineni Date: Sat, 17 Feb 2024 10:08:44 -0600 Subject: 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--- runtime/queries/rust/textobjects.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/queries/rust/textobjects.scm') 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) -- cgit v1.2.3-70-g09d2