Patch 9.0.1587
Problem:    Corn config files are not recognized.
Solution:   Add a pattern for Corn config files. (Jake Stanger, closes #12449)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1586/runtime/filetype.vim        2023-05-27 19:01:48.391230971 
+0100
--- runtime/filetype.vim        2023-05-28 22:06:03.293438029 +0100
***************
*** 319,324 ****
--- 319,327 ----
  " Conary Recipe
  au BufNewFile,BufRead *.recipe                        setf conaryrecipe
  
+ " Corn config file
+ au BufNewFile,BufRead *.corn                  setf corn
+ 
  " ChainPack Object Notation (CPON)
  au BufNewFile,BufRead *.cpon                  setf cpon
  
*** ../vim-9.0.1586/src/testdir/test_filetype.vim       2023-05-27 
19:01:48.391230971 +0100
--- src/testdir/test_filetype.vim       2023-05-28 22:07:29.925206273 +0100
***************
*** 126,131 ****
--- 126,132 ----
      \ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 
'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'],
      \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 
'file.mkvi', 'file.mkxl', 'file.mklx'],
      \ 'cook': ['file.cook'],
+     \ 'corn': ['file.corn'],
      \ 'cpon': ['file.cpon'],
      \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 
'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh', 'file.cppm', 
'file.ccm', 'file.cxxm', 'file.c++m'],
      \ 'cqlang': ['file.cql'],
*** ../vim-9.0.1586/src/version.c       2023-05-28 18:39:51.666579962 +0100
--- src/version.c       2023-05-28 22:08:39.621037469 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1587,
  /**/

-- 
>From "know your smileys":
 |-P    Reaction to unusually ugly C code

 /// 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/20230528211146.2BC9E1C09D2%40moolenaar.net.

Raspunde prin e-mail lui