To: vim_dev@googlegroups.com Subject: Patch 9.0.1587 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1587 Problem: Corn config files are not recognized. Solution: Add a pattern for Corn config files. (Jake Stanger, closes #12449) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1586/runtime/filetype.vim 2023-05-27 19:01:48.391230971 +0100 --- runtime/filetype.vim 2023-05-28 22:06:03.293438029 +0100 *************** *** 319,324 **** --- 319,327 ---- " Conary Recipe au BufNewFile,BufRead *.recipe setf conaryrecipe + " Corn config file + au BufNewFile,BufRead *.corn setf corn + " ChainPack Object Notation (CPON) au BufNewFile,BufRead *.cpon setf cpon *** ../vim-9.0.1586/src/testdir/test_filetype.vim 2023-05-27 19:01:48.391230971 +0100 --- src/testdir/test_filetype.vim 2023-05-28 22:07:29.925206273 +0100 *************** *** 126,131 **** --- 126,132 ---- \ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'], \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], \ 'cook': ['file.cook'], + \ 'corn': ['file.corn'], \ 'cpon': ['file.cpon'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh', 'file.cppm', 'file.ccm', 'file.cxxm', 'file.c++m'], \ 'cqlang': ['file.cql'], *** ../vim-9.0.1586/src/version.c 2023-05-28 18:39:51.666579962 +0100 --- src/version.c 2023-05-28 22:08:39.621037469 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1587, /**/ -- From "know your smileys": |-P Reaction to unusually ugly C code /// 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 ///