Patch 8.2.4721
Problem:    Cooklang files are not recognized.
Solution:   recognize *.cook files. (Goc Dundar, closes #10120)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4720/runtime/filetype.vim        2022-04-09 15:16:18.468503702 
+0100
--- runtime/filetype.vim        2022-04-09 16:05:55.432003005 +0100
***************
*** 394,399 ****
--- 394,402 ----
  " Configure scripts
  au BufNewFile,BufRead configure.in,configure.ac setf config
  
+ " Cooklang
+ au BufNewFile,BufRead *.cook                  setf cook
+ 
  " CUDA Compute Unified Device Architecture
  au BufNewFile,BufRead *.cu,*.cuh              setf cuda
  
*** ../vim-8.2.4720/src/testdir/test_filetype.vim       2022-04-09 
15:16:18.468503702 +0100
--- src/testdir/test_filetype.vim       2022-04-09 16:05:55.432003005 +0100
***************
*** 116,121 ****
--- 116,122 ----
      \ 'conf': ['auto.master'],
      \ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file'],
      \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 
'file.mkvi', 'file.mkxl', 'file.mklx'],
+     \ 'cook': ['file.cook'],
      \ '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.4720/src/version.c       2022-04-09 15:16:18.468503702 +0100
--- src/version.c       2022-04-09 16:06:47.951928164 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4721,
  /**/

-- 
Computers make very fast, very accurate, mistakes.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20220409150837.6AC641C0AF6%40moolenaar.net.

Raspunde prin e-mail lui