Rust: add a few more scopes to indent.
This commit is contained in:
parent
9445b24b88
commit
9e6c8c2a5a
1 changed files with 2 additions and 0 deletions
|
@ -61,8 +61,10 @@ fn calculate_indentation(node: Option<Node>, newline: bool) -> usize {
|
|||
"block",
|
||||
"match_block",
|
||||
"arguments",
|
||||
"parameters",
|
||||
"declaration_list",
|
||||
"field_declaration_list",
|
||||
"field_initializer_list",
|
||||
"enum_variant_list",
|
||||
// "function_item",
|
||||
// "closure_expression",
|
||||
|
|
Loading…
Add table
Reference in a new issue