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",
"match_block",
"arguments",
"parameters",
"declaration_list",
"field_declaration_list",
"field_initializer_list",
"enum_variant_list",
// "function_item",
// "closure_expression",

Loading…
Cancel
Save