2023-03-11 03:02:30 -05:00
|
|
|
[
|
|
|
|
|
(enum_type)
|
|
|
|
|
(struct_type)
|
|
|
|
|
(tuple_type)
|
|
|
|
|
(union_type)
|
|
|
|
|
(block)
|
|
|
|
|
(for_statement)
|
|
|
|
|
(call_expression)
|
|
|
|
|
(case)
|
|
|
|
|
(array_literal)
|
|
|
|
|
(struct_literal)
|
|
|
|
|
(tuple_literal)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2023-03-11 03:02:30 -05:00
|
|
|
|
|
|
|
|
(if_statement
|
2024-01-06 15:05:50 +09:00
|
|
|
("("
|
2024-08-01 15:40:23 +09:00
|
|
|
condition: (_)
|
|
|
|
|
")") @indent.begin)
|
2023-03-11 03:02:30 -05:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
"}"
|
|
|
|
|
"]"
|
|
|
|
|
")"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.end
|
2023-03-11 03:02:30 -05:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
[
|
|
|
|
|
"{"
|
|
|
|
|
"}"
|
|
|
|
|
] @indent.branch
|
2023-03-11 03:02:30 -05:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
[
|
|
|
|
|
"["
|
|
|
|
|
"]"
|
|
|
|
|
] @indent.branch
|
2023-03-11 03:02:30 -05:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
[
|
|
|
|
|
"("
|
|
|
|
|
")"
|
|
|
|
|
] @indent.branch
|
2023-03-11 03:02:30 -05:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(ERROR)
|
|
|
|
|
(comment)
|
|
|
|
|
(concatenated_string)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.auto
|