summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-01 13:54:00 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-01 13:54:00 +0100
commitbeef4eeda5c6865fcfe46db43ae71429a2025b58 (patch)
tree5fd73a845d6c64d673ad9c74b76331c6531d1cc3 /runtime
parent2949cfdbe4335b9abcfeda1be4dfc52090ee1df6 (diff)
patch 8.2.2258: not all OCaml related files are detectedv8.2.2258
Problem: Not all OCaml related files are detected. Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim13
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 71ecd313f1..d624e2b34b 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -499,6 +499,9 @@ au BufNewFile,BufRead *.com call dist#ft#BindzoneCheck('dcl')
" DOT
au BufNewFile,BufRead *.dot,*.gv setf dot
+" Dune
+au BufNewFile,BufRead jbuild,dune,dune-project,dune-workspace setf dune
+
" Dylan - lid files
au BufNewFile,BufRead *.lid setf dylanlid
@@ -1125,8 +1128,8 @@ au BufNewFile,BufRead *.nse setf lua
" NSIS
au BufNewFile,BufRead *.nsi,*.nsh setf nsis
-" OCAML
-au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit setf ocaml
+" OCaml
+au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit,*.mlt,*.mlp,*.mlip,*.mli.cppo,*.ml.cppo setf ocaml
" Occam
au BufNewFile,BufRead *.occ setf occam
@@ -1134,6 +1137,9 @@ au BufNewFile,BufRead *.occ setf occam
" Omnimark
au BufNewFile,BufRead *.xom,*.xin setf omnimark
+" OPAM
+au BufNewFile,BufRead opam,*.opam,*.opam.template setf opam
+
" OpenROAD
au BufNewFile,BufRead *.or setf openroad
@@ -1547,6 +1553,9 @@ au BufNewFile,BufRead *.scm,*.ss,*.rkt setf scheme
" Screen RC
au BufNewFile,BufRead .screenrc,screenrc setf screen
+" Sexplib
+au BufNewFile,BufRead *.sexp setf sexplib
+
" Simula
au BufNewFile,BufRead *.sim setf simula