Add NeoVim test runner
For the queries that can't be tested with `tree-sitter` itself.
This commit is contained in:
parent
cb932811c5
commit
cabd5f6a20
4 changed files with 95 additions and 0 deletions
22
queries/indents.scm
Normal file
22
queries/indents.scm
Normal 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)
|
||||
; }}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue