tree-sitter-d2/queries/indents.scm

21 lines
219 B
Scheme
Raw Normal View History

2023-06-16 18:36:06 +03:00
[
(block)
(class_block)
2023-06-21 19:12:39 +03:00
(class_list)
(attr_value_list)
(ERROR . "{")
(ERROR . "[")
2023-06-16 18:36:06 +03:00
] @indent.begin
2023-06-21 19:12:39 +03:00
2023-06-16 18:36:06 +03:00
[
"}"
"]"
2023-06-21 19:12:39 +03:00
] @indent.branch @indent.end
2023-06-16 18:36:06 +03:00
[
(line_comment)
(block_comment)
(ERROR)
] @indent.auto