mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +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',
|
||||
nsh = 'nsis',
|
||||
obj = 'obj',
|
||||
obl = 'obse',
|
||||
obse = 'obse',
|
||||
oblivion = 'obse',
|
||||
obscript = 'obse',
|
||||
mlt = 'ocaml',
|
||||
mly = 'ocaml',
|
||||
mll = 'ocaml',
|
||||
|
@@ -396,6 +396,7 @@ let s:filename_checks = {
|
||||
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
|
||||
\ 'nsis': ['file.nsi', 'file.nsh'],
|
||||
\ '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'],
|
||||
\ 'occam': ['file.occ'],
|
||||
\ 'octave': ['octaverc', '.octaverc', 'octave.conf'],
|
||||
|
Reference in New Issue
Block a user