Patch 8.2.4721

6 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 9, 2022, 11:08:41 AM4/9/22
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages