indent(hcl): fix function calls

This commit is contained in:
Michael Hoffmann 2022-04-24 23:16:35 +02:00 committed by Stephan Seitz
parent b1e8b61a94
commit 82e43748cf
4 changed files with 12 additions and 11 deletions

View file

@ -63,8 +63,8 @@
] @string
[
(heredoc_identifier) ; <<END
(heredoc_start) ; END
(heredoc_identifier) ; END
(heredoc_start) ; << or <<-
] @punctuation.delimiter
[

View file

@ -2,21 +2,14 @@
(block)
(object)
(tuple)
(function_call)
] @indent
[
(block_end)
(object_end)
(tuple_end)
] @branch
[
"]"
")"
"}"
] @indent_end
] @branch @indent_end
(comment) @auto
(ERROR) @auto