tree-sitter-bp/queries/indents.scm

39 lines
517 B
Scheme
Raw Normal View History

2024-04-11 20:42:25 +02:00
(list_expression) @indent.begin
2024-04-11 20:42:25 +02:00
(list_expression
"]" @indent.branch)
(map_expression) @indent.begin
2024-04-11 20:42:25 +02:00
(map_expression
"}" @indent.branch)
(select_expression) @indent.begin
2024-04-11 20:42:25 +02:00
(select_expression
")" @indent.branch)
(select_value) @indent.begin
(select_value
")" @indent.branch)
(select_pattern
"(" @indent.begin)
(select_pattern
")" @indent.branch)
2024-04-11 20:42:25 +02:00
(select_cases) @indent.begin
2024-04-11 20:42:25 +02:00
(select_cases
"}" @indent.branch)
(module) @indent.begin
2024-04-11 20:42:25 +02:00
(module
")" @indent.branch)
2024-04-11 20:42:25 +02:00
(module
"}" @indent.branch)