mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
feat: add initial OCaml support
This commit is contained in:
parent
68eaeb8673
commit
97bf4752de
3 changed files with 12 additions and 2 deletions
|
@ -134,8 +134,8 @@ use 'nvim-treesitter/nvim-treesitter-context'
|
|||
- [ ] `meson`
|
||||
- [ ] `nickel`
|
||||
- [ ] `nix`
|
||||
- [ ] `ocaml`
|
||||
- [ ] `ocaml_interface`
|
||||
- [x] `ocaml`
|
||||
- [x] `ocaml_interface`
|
||||
- [ ] `ocamllex`
|
||||
- [ ] `pascal`
|
||||
- [ ] `perl`
|
||||
|
|
9
queries/ocaml/context.scm
Normal file
9
queries/ocaml/context.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
([
|
||||
(module_binding)
|
||||
(class_binding)
|
||||
(class_type_binding)
|
||||
(method_definition)
|
||||
(type_binding)
|
||||
(let_binding)
|
||||
(function_expression)
|
||||
] @context)
|
1
queries/ocaml_interface/context.scm
Normal file
1
queries/ocaml_interface/context.scm
Normal file
|
@ -0,0 +1 @@
|
|||
; inherits: ocaml
|
Loading…
Reference in a new issue