mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
indent(hcl): fix function calls
This commit is contained in:
parent
b1e8b61a94
commit
82e43748cf
4 changed files with 12 additions and 11 deletions
|
|
@ -63,8 +63,8 @@
|
|||
] @string
|
||||
|
||||
[
|
||||
(heredoc_identifier) ; <<END
|
||||
(heredoc_start) ; END
|
||||
(heredoc_identifier) ; END
|
||||
(heredoc_start) ; << or <<-
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue