feat: add initial OCaml support

This commit is contained in:
Robin Björklin 2023-04-07 12:01:20 -07:00 committed by Lewis Russell
parent 68eaeb8673
commit 97bf4752de
3 changed files with 12 additions and 2 deletions

View file

@ -134,8 +134,8 @@ use 'nvim-treesitter/nvim-treesitter-context'
- [ ] `meson`
- [ ] `nickel`
- [ ] `nix`
- [ ] `ocaml`
- [ ] `ocaml_interface`
- [x] `ocaml`
- [x] `ocaml_interface`
- [ ] `ocamllex`
- [ ] `pascal`
- [ ] `perl`

View file

@ -0,0 +1,9 @@
([
(module_binding)
(class_binding)
(class_type_binding)
(method_definition)
(type_binding)
(let_binding)
(function_expression)
] @context)

View file

@ -0,0 +1 @@
; inherits: ocaml