0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.1668: PEM files are not recognized

Problem:    PEM files are not recognized.
Solution:   Add patterns to match PEM files. (closes #12582)
This commit is contained in:
ObserverOfTime 2023-06-26 22:05:37 +01:00 committed by Bram Moolenaar
parent e429893741
commit 0256d76a33
3 changed files with 6 additions and 0 deletions

View File

@ -1511,6 +1511,9 @@ au BufNewFile,BufRead *.pdf setf pdf
" PCMK - HAE - crm configure edit " PCMK - HAE - crm configure edit
au BufNewFile,BufRead *.pcmk setf pcmk au BufNewFile,BufRead *.pcmk setf pcmk
" PEM (Privacy-Enhanced Mail)
au BufNewFile,BufRead *.pem,*.cer,*.crt,*.csr setf pem
" Perl " Perl
if has("fname_case") if has("fname_case")
au BufNewFile,BufRead *.pl,*.PL call dist#ft#FTpl() au BufNewFile,BufRead *.pl,*.PL call dist#ft#FTpl()

View File

@ -506,6 +506,7 @@ def s:GetFilenameChecks(): dict<list<string>>
pccts: ['file.g'], pccts: ['file.g'],
pcmk: ['file.pcmk'], pcmk: ['file.pcmk'],
pdf: ['file.pdf'], 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'], perl: ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'],
pf: ['pf.conf'], pf: ['pf.conf'],
pfmain: ['main.cf', 'main.cf.proto'], pfmain: ['main.cf', 'main.cf.proto'],

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1668,
/**/ /**/
1667, 1667,
/**/ /**/