To: vim_dev@googlegroups.com Subject: Patch 8.2.2591 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2591 Problem: Poke files are not recognized. Solution: Add a filetype entry. (Matt Ihlenfield) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.2590/runtime/filetype.vim 2021-02-17 12:29:12.218657041 +0100 --- runtime/filetype.vim 2021-03-12 22:12:41.105030447 +0100 *************** *** 1334,1339 **** --- 1334,1342 ---- au BufNewFile,BufRead *.proto setf proto au BufNewFile,BufRead *.pbtxt setf pbtxt + " Poke + au BufNewFile,BufRead *.pk setf poke + " Protocols au BufNewFile,BufRead */etc/protocols setf protocols *** ../vim-8.2.2590/src/testdir/test_filetype.vim 2021-02-17 12:29:12.218657041 +0100 --- src/testdir/test_filetype.vim 2021-03-12 22:14:35.932229013 +0100 *************** *** 374,379 **** --- 374,380 ---- \ 'po': ['file.po', 'file.pot'], \ 'pod': ['file.pod'], \ 'pod6': ['file.pod6'], + \ 'poke': ['file.pk'], \ 'postscr': ['file.ps', 'file.pfa', 'file.afm', 'file.eps', 'file.epsf', 'file.epsi', 'file.ai'], \ 'pov': ['file.pov'], \ 'povini': ['.povrayrc'], *** ../vim-8.2.2590/src/version.c 2021-03-11 20:03:59.574114833 +0100 --- src/version.c 2021-03-12 22:13:51.500527833 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2591, /**/ -- Westheimer's Discovery: A couple of months in the laboratory can frequently save a couple of hours in the library. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///