summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/hcl/indents.scm17
1 files changed, 13 insertions, 4 deletions
diff --git a/queries/hcl/indents.scm b/queries/hcl/indents.scm
index b0f0bc9b..c316628b 100644
--- a/queries/hcl/indents.scm
+++ b/queries/hcl/indents.scm
@@ -1,13 +1,22 @@
[
- (object)
(block)
+ (object)
(tuple)
- (for_tuple_expr)
- (for_object_expr)
] @indent
[
- (object_end)
(block_end)
+ (object_end)
(tuple_end)
] @branch
+
+
+[
+ "]"
+ ")"
+ "}"
+] @indent_end
+
+
+(comment) @auto
+(ERROR) @auto