Rust: add a few more scopes to indent.

This commit is contained in:
Blaž Hrastnik 2021-04-14 15:20:39 +09:00
parent 9445b24b88
commit 9e6c8c2a5a

View file

@ -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",