To: vim_dev@googlegroups.com Subject: Patch 9.0.1350 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1350 Problem: CPON files are not recognized. Solution: Add patterns for CPON files. (Amaan Qureshi, closes #12053) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1349/runtime/filetype.vim 2023-02-23 20:31:05.388636481 +0000 --- runtime/filetype.vim 2023-02-24 12:06:46.062755482 +0000 *************** *** 310,315 **** --- 310,318 ---- " Conary Recipe au BufNewFile,BufRead *.recipe setf conaryrecipe + " ChainPack Object Notation (CPON) + au BufNewFile,BufRead *.cpon setf cpon + " Controllable Regex Mutilator au BufNewFile,BufRead *.crm setf crm *** ../vim-9.0.1349/src/testdir/test_filetype.vim 2023-02-23 20:31:05.388636481 +0000 --- src/testdir/test_filetype.vim 2023-02-24 12:06:46.062755482 +0000 *************** *** 124,129 **** --- 124,130 ---- \ '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'], + \ 'cpon': ['file.cpon'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'cqlang': ['file.cql'], \ 'crm': ['file.crm'], *** ../vim-9.0.1349/src/version.c 2023-02-23 22:14:33.622127616 +0000 --- src/version.c 2023-02-24 12:07:46.166891074 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1350, /**/ -- hundred-and-one symptoms of being an internet addict: 175. You send yourself e-mail before you go to bed to remind you what to do when you wake up. /// 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 ///