Patch 9.0.1668
Problem:    PEM files are not recognized.
Solution:   Add patterns to match PEM files. (closes #12582)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1667/runtime/filetype.vim        2023-06-24 17:11:00.713077736 
+0100
--- runtime/filetype.vim        2023-06-26 21:58:22.996173011 +0100
***************
*** 1511,1516 ****
--- 1511,1519 ----
  " PCMK - HAE - crm configure edit
  au BufNewFile,BufRead *.pcmk                          setf pcmk
  
+ " PEM (Privacy-Enhanced Mail)
+ au BufNewFile,BufRead *.pem,*.cer,*.crt,*.csr         setf pem
+ 
  " Perl
  if has("fname_case")
    au BufNewFile,BufRead *.pl,*.PL                     call dist#ft#FTpl()
*** ../vim-9.0.1667/src/testdir/test_filetype.vim       2023-06-24 
17:11:00.713077736 +0100
--- src/testdir/test_filetype.vim       2023-06-26 21:59:48.496063377 +0100
***************
*** 506,511 ****
--- 506,512 ----
      pccts: ['file.g'],
      pcmk: ['file.pcmk'],
      pdf: ['file.pdf'],
+     pem: ['file.pem', 'file.cer', 'file.crt', 'file.csr'],
      perl: ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 
'example.gitolite.rc', '.latexmkrc', 'latexmkrc'],
      pf: ['pf.conf'],
      pfmain: ['main.cf', 'main.cf.proto'],
*** ../vim-9.0.1667/src/version.c       2023-06-26 19:02:39.547832077 +0100
--- src/version.c       2023-06-26 22:04:55.627700153 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1668,
  /**/

-- 
"Women marry men hoping they will change. Men marry women hoping
they will not. So each is inevitably disappointed."
 - Einstein

 /// 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/20230626210651.BD7051C054C%40moolenaar.net.

Raspunde prin e-mail lui