vim-patch:9.1.0242: filetype: octave history files are not recognized

Problem:  filetype: octave history files are not recognized
Solution: Detect octave/history files as octave
          (Wu, Zhenyu)

closes: vim/vim#14363

be71ac694f

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-03-31 19:20:16 +02:00
parent afc7a5611e
commit 5cdbb22c34
2 changed files with 2 additions and 1 deletions

View File

@@ -1912,6 +1912,7 @@ local pattern = {
['.*%.[1-9]'] = detect.nroff,
['.*%.ml%.cppo'] = 'ocaml',
['.*%.mli%.cppo'] = 'ocaml',
['.*/octave/history'] = 'octave',
['.*%.opam%.template'] = 'opam',
['.*/openvpn/.*/.*%.conf'] = 'openvpn',
['.*%.[Oo][Pp][Ll]'] = 'opl',