mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
vim-patch:9.0.0932: Oblivion files are not recognized (#21179)
Problem: Oblivion files are not recognized.
Solution: Recognize Oblivion files and alike as "obse". (closes vim/vim#11540)
ecfd511e8d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -729,6 +729,10 @@ local extension = {
|
|||||||
nsi = 'nsis',
|
nsi = 'nsis',
|
||||||
nsh = 'nsis',
|
nsh = 'nsis',
|
||||||
obj = 'obj',
|
obj = 'obj',
|
||||||
|
obl = 'obse',
|
||||||
|
obse = 'obse',
|
||||||
|
oblivion = 'obse',
|
||||||
|
obscript = 'obse',
|
||||||
mlt = 'ocaml',
|
mlt = 'ocaml',
|
||||||
mly = 'ocaml',
|
mly = 'ocaml',
|
||||||
mll = 'ocaml',
|
mll = 'ocaml',
|
||||||
|
@@ -396,6 +396,7 @@ let s:filename_checks = {
|
|||||||
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
|
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
|
||||||
\ 'nsis': ['file.nsi', 'file.nsh'],
|
\ 'nsis': ['file.nsi', 'file.nsh'],
|
||||||
\ 'obj': ['file.obj'],
|
\ 'obj': ['file.obj'],
|
||||||
|
\ 'obse': ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
|
||||||
\ 'ocaml': ['file.ml', 'file.mli', 'file.mll', 'file.mly', '.ocamlinit', 'file.mlt', 'file.mlp', 'file.mlip', 'file.mli.cppo', 'file.ml.cppo'],
|
\ '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'],
|
\ 'occam': ['file.occ'],
|
||||||
\ 'octave': ['octaverc', '.octaverc', 'octave.conf'],
|
\ 'octave': ['octaverc', '.octaverc', 'octave.conf'],
|
||||||
|
Reference in New Issue
Block a user