To: vim_dev@googlegroups.com Subject: Patch 8.2.1964 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1964 Problem: Not all ConTeXt files are recognized. Solution: Add two patterns. (closes #7263) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.1963/runtime/filetype.vim 2020-10-10 21:50:21.128071530 +0200 --- runtime/filetype.vim 2020-11-06 18:49:08.493833514 +0100 *************** *** 1720,1726 **** au BufNewFile,BufRead *.tex call dist#ft#FTtex() " ConTeXt ! au BufNewFile,BufRead *.mkii,*.mkiv,*.mkvi setf context " Texinfo au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo --- 1721,1727 ---- au BufNewFile,BufRead *.tex call dist#ft#FTtex() " ConTeXt ! au BufNewFile,BufRead *.mkii,*.mkiv,*.mkvi,*.mkxl,*.mklx setf context " Texinfo au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo *** ../vim-8.2.1963/src/testdir/test_filetype.vim 2020-10-22 12:33:29.012790383 +0200 --- src/testdir/test_filetype.vim 2020-11-06 18:49:08.493833514 +0100 *************** *** 110,116 **** \ 'conaryrecipe': ['file.recipe'], \ 'conf': ['auto.master'], \ 'config': ['configure.in', 'configure.ac', 'Pipfile', '/etc/hostname.file'], ! \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'crm': ['file.crm'], \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'], --- 110,116 ---- \ 'conaryrecipe': ['file.recipe'], \ 'conf': ['auto.master'], \ 'config': ['configure.in', 'configure.ac', 'Pipfile', '/etc/hostname.file'], ! \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'crm': ['file.crm'], \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'], *** ../vim-8.2.1963/src/version.c 2020-11-06 17:58:31.727138982 +0100 --- src/version.c 2020-11-06 18:51:30.665433085 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 1964, /**/ -- hundred-and-one symptoms of being an internet addict: 209. Your house stinks because you haven't cleaned it in a week. /// 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 ///