mirror of https://github.com/helix-editor/helix
Rust: add a few more scopes to indent.
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…
Reference in New Issue