To: vim_dev@googlegroups.com Subject: Patch 9.0.1106 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1106 Problem: Not all postfix files are recognized. Solution: Recognize main.cf.proto files. (closes #11732) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1105/runtime/filetype.vim 2022-12-26 15:35:11.357868057 +0000 --- runtime/filetype.vim 2022-12-27 20:07:56.529256044 +0000 *************** *** 1498,1504 **** au BufNewFile,BufRead *.po,*.pot setf po " Postfix main config ! au BufNewFile,BufRead main.cf setf pfmain " PostScript (+ font files, encapsulated PostScript, Adobe Illustrator) au BufNewFile,BufRead *.ps,*.pfa,*.afm,*.eps,*.epsf,*.epsi,*.ai setf postscr --- 1498,1504 ---- au BufNewFile,BufRead *.po,*.pot setf po " Postfix main config ! au BufNewFile,BufRead main.cf,main.cf.proto setf pfmain " PostScript (+ font files, encapsulated PostScript, Adobe Illustrator) au BufNewFile,BufRead *.ps,*.pfa,*.afm,*.eps,*.epsf,*.epsi,*.ai setf postscr *** ../vim-9.0.1105/src/testdir/test_filetype.vim 2022-12-26 15:35:11.357868057 +0000 --- src/testdir/test_filetype.vim 2022-12-27 20:07:56.529256044 +0000 *************** *** 420,426 **** \ 'pdf': ['file.pdf'], \ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'], \ 'pf': ['pf.conf'], ! \ 'pfmain': ['main.cf'], \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp', 'file.phpt', 'file.theme'], \ 'pike': ['file.pike', 'file.pmod'], \ 'pilrc': ['file.rcp'], --- 420,426 ---- \ 'pdf': ['file.pdf'], \ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'], \ 'pf': ['pf.conf'], ! \ 'pfmain': ['main.cf', 'main.cf.proto'], \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp', 'file.phpt', 'file.theme'], \ 'pike': ['file.pike', 'file.pmod'], \ 'pilrc': ['file.rcp'], *** ../vim-9.0.1105/src/version.c 2022-12-27 19:54:48.118194735 +0000 --- src/version.c 2022-12-27 20:09:55.685271817 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1106, /**/ -- An indication you must be a manager: You believe you never have any problems in your life, just "issues" and "improvement opportunities". /// 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 ///