From 79130c0fd393e3eef8e4c939c54ea3d3faec2149 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 14 Jul 2024 17:26:40 +0200 Subject: vim-patch:9.1.0586: ocaml runtime files are outdated Problem: ocaml runtime files are outdated Solution: sync those files with the upstream repo, detect a few more ocaml files (Yinzuo Jiang) closes: vim/vim#15260 https://github.com/vim/vim/commit/700cf8cfa1e926e2ba676203b3ad90c2c2083f1d Co-authored-by: Yinzuo Jiang --- runtime/lua/vim/filetype.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index cead8871fe..08451735b6 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1392,6 +1392,7 @@ local filename = { jbuild = 'dune', ['dune-workspace'] = 'dune', ['dune-project'] = 'dune', + ['dune-file'] = 'dune', Earthfile = 'earthfile', ['.editorconfig'] = 'editorconfig', ['elinks.conf'] = 'elinks', @@ -1543,6 +1544,7 @@ local filename = { ['octave.conf'] = 'octave', ['.ondirrc'] = 'ondir', opam = 'opam', + ['opam.locked'] = 'opam', ['pacman.log'] = 'pacmanlog', ['/etc/pam.conf'] = 'pamconf', ['pam_env.conf'] = 'pamenv', @@ -2065,6 +2067,7 @@ local pattern = { ['%.ml%.cppo$'] = 'ocaml', ['%.mli%.cppo$'] = 'ocaml', ['/octave/history$'] = 'octave', + ['%.opam%.locked$'] = 'opam', ['%.opam%.template$'] = 'opam', ['/openvpn/.*/.*%.conf$'] = 'openvpn', ['%.[Oo][Pp][Ll]$'] = 'opl', -- cgit