From 9e6c8c2a5a8b2a48543ee856fa801b2f30f113e1 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 14 Apr 2021 15:20:39 +0900 Subject: Rust: add a few more scopes to indent. --- helix-core/src/indent.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-core/src') diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs index 4ea920cc..a188af4b 100644 --- a/helix-core/src/indent.rs +++ b/helix-core/src/indent.rs @@ -61,8 +61,10 @@ fn calculate_indentation(node: Option, newline: bool) -> usize { "block", "match_block", "arguments", + "parameters", "declaration_list", "field_declaration_list", + "field_initializer_list", "enum_variant_list", // "function_item", // "closure_expression", -- cgit v1.2.3-70-g09d2