tree-sitter-bp/queries/indents.scm
Bruno BELANYI c73eadd348 Add NeoVim test runner
For the queries that can't be tested with `tree-sitter` itself.
2024-04-11 22:09:42 +01:00

22 lines
319 B
Scheme

; Expressions {{{
(list_expression) @indent.begin
(list_expression
"]" @indent.branch)
(map_expression) @indent.begin
(map_expression
"}" @indent.end)
(assignment) @indent.begin ; FIXME: do I need it?
; }}}
; Declarations {{{
(module) @indent.begin
(module
")" @indent.end)
(module
"}" @indent.end)
; }}}