From 649a7e6fe6df3abc5c30d212ba51e26d9ca83d60 Mon Sep 17 00:00:00 2001 From: Matthew Wynn Date: Thu, 16 Sep 2021 12:51:42 -0700 Subject: [PATCH] indents(hcl): add more indentation rules for HCL --- queries/hcl/indents.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/queries/hcl/indents.scm b/queries/hcl/indents.scm index 5315d62bb..b0f0bc9bb 100644 --- a/queries/hcl/indents.scm +++ b/queries/hcl/indents.scm @@ -1,4 +1,13 @@ [ - "}" - "]" + (object) + (block) + (tuple) + (for_tuple_expr) + (for_object_expr) +] @indent + +[ + (object_end) + (block_end) + (tuple_end) ] @branch