aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-01 16:17:48 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-01 16:56:24 -0500
commitb580cf83bd8afba2c107f262bedcfa9bef73cfbb (patch)
tree65d79868b0bf2f57348d4a1588768e1b5c1c83d8 /src
parent86ae394aeb6f2223f5e9a4e98bc9ee1dcbe130dd (diff)
downloadrneovim-b580cf83bd8afba2c107f262bedcfa9bef73cfbb.tar.gz
rneovim-b580cf83bd8afba2c107f262bedcfa9bef73cfbb.tar.bz2
rneovim-b580cf83bd8afba2c107f262bedcfa9bef73cfbb.zip
vim-patch:8.2.2258: not all OCaml related files are detected
Problem: Not all OCaml related files are detected. Solution: Update OCaml file type detection. (Markus Mottl, closes vim/vim#7590) https://github.com/vim/vim/commit/beef4eeda5c6865fcfe46db43ae71429a2025b58
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_filetype.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim
index 2123780f11..1cb68e7fef 100644
--- a/src/nvim/testdir/test_filetype.vim
+++ b/src/nvim/testdir/test_filetype.vim
@@ -150,6 +150,7 @@ let s:filename_checks = {
\ 'dsl': ['file.dsl'],
\ 'dtd': ['file.dtd'],
\ 'dts': ['file.dts', 'file.dtsi'],
+ \ 'dune': ['jbuild', 'dune', 'dune-project', 'dune-workspace'],
\ 'dylan': ['file.dylan'],
\ 'dylanintr': ['file.intr'],
\ 'dylanlid': ['file.lid'],
@@ -322,9 +323,10 @@ let s:filename_checks = {
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom'],
\ 'nsis': ['file.nsi', 'file.nsh'],
\ 'obj': ['file.obj'],
- \ 'ocaml': ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit'],
+ \ 'ocaml': ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit', 'file.mlt', 'file.mlp', 'file.mlip', 'file.mli.cppo', 'file.ml.cppo'],
\ 'occam': ['file.occ'],
\ 'omnimark': ['file.xom', 'file.xin'],
+ \ 'opam': ['opam', 'file.opam', 'file.opam.template'],
\ 'openroad': ['file.or'],
\ 'ora': ['file.ora'],
\ 'pamconf': ['/etc/pam.conf'],
@@ -398,6 +400,7 @@ let s:filename_checks = {
\ 'scheme': ['file.scm', 'file.ss', 'file.rkt'],
\ 'scilab': ['file.sci', 'file.sce'],
\ 'screen': ['.screenrc', 'screenrc'],
+ \ 'sexplib': ['file.sexp'],
\ 'scss': ['file.scss'],
\ 'sd': ['file.sd'],
\ 'sdc': ['file.sdc'],