2022-01-27 12:14:18 -03:00
|
|
|
[
|
|
|
|
|
(brace_list)
|
|
|
|
|
(paren_list)
|
|
|
|
|
(special)
|
2022-02-04 23:36:07 +01:00
|
|
|
(pipe)
|
2022-03-28 16:08:30 -03:00
|
|
|
(call)
|
2022-01-27 12:14:18 -03:00
|
|
|
"|>"
|
|
|
|
|
"if"
|
|
|
|
|
"else"
|
|
|
|
|
"while"
|
|
|
|
|
"repeat"
|
|
|
|
|
"for"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2022-01-27 12:14:18 -03:00
|
|
|
|
2024-01-21 22:05:44 +09:00
|
|
|
(binary
|
|
|
|
|
operator: (special)) @indent.begin
|
2022-11-29 11:52:28 -03:00
|
|
|
|
2022-01-27 12:14:18 -03:00
|
|
|
[
|
|
|
|
|
"}"
|
|
|
|
|
")"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.branch
|
2022-01-27 12:14:18 -03:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((formal_parameters
|
|
|
|
|
(identifier)) @indent.align
|
|
|
|
|
(#set! indent.open_delimiter "(")
|
|
|
|
|
(#set! indent.close_delimiter ")"))
|
2022-01-28 22:32:59 -03:00
|
|
|
|
2022-01-27 12:14:18 -03:00
|
|
|
[
|
|
|
|
|
")"
|
|
|
|
|
"}"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.end
|
2022-01-27 12:14:18 -03:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
(comment) @indent.ignore
|