mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
indents(hcl): add more indentation rules for HCL
This commit is contained in:
parent
1b6e5abfcd
commit
649a7e6fe6
1 changed files with 11 additions and 2 deletions
|
|
@ -1,4 +1,13 @@
|
||||||
[
|
[
|
||||||
"}"
|
(object)
|
||||||
"]"
|
(block)
|
||||||
|
(tuple)
|
||||||
|
(for_tuple_expr)
|
||||||
|
(for_object_expr)
|
||||||
|
] @indent
|
||||||
|
|
||||||
|
[
|
||||||
|
(object_end)
|
||||||
|
(block_end)
|
||||||
|
(tuple_end)
|
||||||
] @branch
|
] @branch
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue