mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
refactor(format): drop extra indentation for field
This commit is contained in:
parent
c28396de30
commit
722617e672
140 changed files with 2146 additions and 2766 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue