From 9e6c8c2a5a8b2a48543ee856fa801b2f30f113e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Wed, 14 Apr 2021 15:20:39 +0900 Subject: [PATCH] Rust: add a few more scopes to indent. --- helix-core/src/indent.rs | 2 ++ 1 file changed, 2 insertions(+) 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",