Patch 9.0.1668

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 26, 2023, 5:06:56 PM6/26/23
to vim...@googlegroups.com

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 -- 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