refactor(format): drop extra indentation for field

This commit is contained in:
Phạm Huy Hoàng 2024-03-21 20:44:35 +09:00 committed by Christian Clason
parent c28396de30
commit 722617e672
140 changed files with 2146 additions and 2766 deletions

View file

@ -55,42 +55,35 @@
"}" @indent.end)
(enum_item
body:
(enum_variant_list
"}" @indent.end))
body: (enum_variant_list
"}" @indent.end))
(impl_item
body:
(declaration_list
"}" @indent.end))
body: (declaration_list
"}" @indent.end))
(match_expression
body:
(match_block
"}" @indent.end))
body: (match_block
"}" @indent.end))
(mod_item
body:
(declaration_list
"}" @indent.end))
body: (declaration_list
"}" @indent.end))
(struct_item
body:
(field_declaration_list
"}" @indent.end))
body: (field_declaration_list
"}" @indent.end))
(struct_expression
body:
(field_initializer_list
"}" @indent.end))
body: (field_initializer_list
"}" @indent.end))
(struct_pattern
"}" @indent.end)
(trait_item
body:
(declaration_list
"}" @indent.end))
body: (declaration_list
"}" @indent.end))
(impl_item
(where_clause) @indent.dedent)