From 5edb3742377a680d0b01a56fd706a26954d86fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Wed, 14 Apr 2021 17:14:13 +0900 Subject: [PATCH] And some more indent patterns. --- 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 a188af4b7..d0a0e4146 100644 --- a/helix-core/src/indent.rs +++ b/helix-core/src/indent.rs @@ -65,6 +65,8 @@ fn calculate_indentation(node: Option, newline: bool) -> usize { "declaration_list", "field_declaration_list", "field_initializer_list", + "struct_pattern", + "tuple_pattern", "enum_variant_list", // "function_item", // "closure_expression",