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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202011061753.0A6HrS5p478489%40masaka.moolenaar.net.

Raspunde prin e-mail lui