tree-sitter-bp/queries/indents.scm
Bruno BELANYI 16c43068ec
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Align queries with 'nvim-treesitter'
Makes it easier to update either way.
2024-12-23 23:08:26 -05:00

39 lines
517 B
Scheme

(list_expression) @indent.begin
(list_expression
"]" @indent.branch)
(map_expression) @indent.begin
(map_expression
"}" @indent.branch)
(select_expression) @indent.begin
(select_expression
")" @indent.branch)
(select_value) @indent.begin
(select_value
")" @indent.branch)
(select_pattern
"(" @indent.begin)
(select_pattern
")" @indent.branch)
(select_cases) @indent.begin
(select_cases
"}" @indent.branch)
(module) @indent.begin
(module
")" @indent.branch)
(module
"}" @indent.branch)