mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
feat: add parser for ocaml interface files
The files have the mli extension. The parser grammar uses the name ocaml_interface, but since vim the underscore has a special meaning ocamlinterface is used as the filetype.
This commit is contained in:
parent
76c00934a6
commit
749a8a7f25
2 changed files with 11 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ M.base_language_map = {
|
|||
typescript = {'javascript'},
|
||||
javascript = {'jsx'},
|
||||
tsx = {'typescript', 'javascript', 'jsx'},
|
||||
ocaml_interface = {'ocaml'},
|
||||
}
|
||||
|
||||
M.built_in_query_groups = {'highlights', 'locals', 'textobjects', 'folds'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue