1
mirror of https://github.com/neovim/neovim.git synced 2025-01-01 17:23:36 -07:00

vim-patch:9.0.1395: Odin files are not recognized ()

Problem:    Odin files are not recognized.
Solution:   Add a pattern for Odin files. (Amaan Qureshi, closes )

638388b8ef
This commit is contained in:
Amaan Qureshi 2023-03-08 18:19:18 -05:00 committed by GitHub
parent 6dd9770baf
commit ae70e946ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions
runtime/lua/vim
test/old/testdir

View File

@ -751,6 +751,7 @@ local extension = {
mli = 'ocaml',
ml = 'ocaml',
occ = 'occam',
odin = 'odin',
xom = 'omnimark',
xin = 'omnimark',
opam = 'opam',

View File

@ -414,6 +414,7 @@ let s:filename_checks = {
\ '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'],
\ 'octave': ['octaverc', '.octaverc', 'octave.conf'],
\ 'odin': ['file.odin'],
\ 'omnimark': ['file.xom', 'file.xin'],
\ 'opam': ['opam', 'file.opam', 'file.opam.template'],
\ 'openroad': ['file.or'],