Add NeoVim test runner

For the queries that can't be tested with `tree-sitter` itself.
This commit is contained in:
Bruno BELANYI 2024-04-11 19:42:25 +01:00
parent cb932811c5
commit cabd5f6a20
4 changed files with 95 additions and 0 deletions

22
queries/indents.scm Normal file
View file

@ -0,0 +1,22 @@
; 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)
; }}}