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
9
queries/rescript/locals.scm
Normal file
9
queries/rescript/locals.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(switch_expression) @local.scope
|
||||
|
||||
; Definitions
|
||||
;------------
|
||||
(type_declaration) @local.definition.type
|
||||
|
||||
(let_binding) @local.definition.var
|
||||
|
||||
(module_declaration) @local.definition.namespace
|
||||
Loading…
Add table
Add a link
Reference in a new issue