mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
feat: add rescript parser and queries (#6671)
This commit is contained in:
parent
7cec6219c4
commit
f97e0de005
12 changed files with 748 additions and 0 deletions
12
queries/rescript/folds.scm
Normal file
12
queries/rescript/folds.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
(block)
|
||||
(function)
|
||||
(module_declaration)
|
||||
(type_declaration)
|
||||
(external_declaration)
|
||||
(call_expression)
|
||||
(switch_expression)
|
||||
(parenthesized_expression)
|
||||
(record)
|
||||
(include_statement)+
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue