Rust: add a few more scopes to indent.

pull/11/head
Blaž Hrastnik 4 years ago
parent 9445b24b88
commit 9e6c8c2a5a

@ -61,8 +61,10 @@ fn calculate_indentation(node: Option<Node>, newline: bool) -> usize {
"block", "block",
"match_block", "match_block",
"arguments", "arguments",
"parameters",
"declaration_list", "declaration_list",
"field_declaration_list", "field_declaration_list",
"field_initializer_list",
"enum_variant_list", "enum_variant_list",
// "function_item", // "function_item",
// "closure_expression", // "closure_expression",

Loading…
Cancel
Save