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:
Pau Ruiz Safont 2020-09-10 18:44:09 +01:00 committed by Stephan Seitz
parent 76c00934a6
commit 749a8a7f25
2 changed files with 11 additions and 0 deletions

View file

@ -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'}