To: vim_dev@googlegroups.com Subject: Patch 9.0.0932 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0932 Problem: Oblivion files are not recognized. Solution: Recognize Oblivion files and alike as "obse". (closes #11540) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0931/runtime/filetype.vim 2022-11-22 19:16:26.232887100 +0000 --- runtime/filetype.vim 2022-11-23 22:31:39.652005016 +0000 *************** *** 1343,1348 **** --- 1343,1351 ---- " NSIS au BufNewFile,BufRead *.nsi,*.nsh setf nsis + " Oblivion Language and Oblivion Script Extender + au BufNewFile,BufRead *.obl,*.obse,*.oblivion,*.obscript setf obse + " OCaml au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit,*.mlt,*.mlp,*.mlip,*.mli.cppo,*.ml.cppo setf ocaml *** ../vim-9.0.0931/src/testdir/test_filetype.vim 2022-11-22 19:16:26.232887100 +0000 --- src/testdir/test_filetype.vim 2022-11-23 22:33:32.767990294 +0000 *************** *** 395,400 **** --- 395,401 ---- \ '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'], *** ../vim-9.0.0931/src/version.c 2022-11-23 22:28:03.552026184 +0000 --- src/version.c 2022-11-23 22:32:51.283995888 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 932, /**/ -- hundred-and-one symptoms of being an internet addict: 125. You begin to wonder how often it REALLY is necessary to get up and shower or bathe. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///