blob: b2d33a59b981643b88ad17f2ff8bf780acc71d28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
[
(array_expression)
(assert_statement)
(assignment_statement)
(block)
(constant_declaration)
(expression_statement)
(items_block)
(loop_statement)
(mapping_declaration)
(parenthesized_expression)
(record_declaration)
(return_statement)
(struct_declaration)
(struct_expression)
(tuple_expression)
(variable_declaration)
] @indent.begin
((function_parameters) @indent.align
(#set! indent.open_delimiter "(")
(#set! indent.close_delimiter ")"))
((function_arguments) @indent.align
(#set! indent.open_delimiter "(")
(#set! indent.close_delimiter ")"))
(parenthesized_expression
")" @indent.branch)
(function_parameters
")" @indent.branch)
(function_arguments
")" @indent.branch)
(record_declaration
"}" @indent.branch)
(struct_declaration
"}" @indent.branch)
(struct_expression
"}" @indent.branch)
(array_expression
"]" @indent.branch)
(tuple_expression
")" @indent.branch)
(items_block
"}" @indent.branch)
(block
"}" @indent.branch)
[
(comment)
(ERROR)
] @indent.auto
|