Patch 9.0.0932

2 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 23, 2022, 5:35:44 PM11/23/22
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages