vim-patch:9.0.1668: PEM files are not recognized (#24169)

Problem:    PEM files are not recognized.
Solution:   Add patterns to match PEM files. (closes vim/vim#12582)

0256d76a33
This commit is contained in:
ObserverOfTime 2023-06-27 10:14:34 +03:00 committed by GitHub
parent 2e055e49a3
commit 8ea9a70d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -783,6 +783,10 @@ local extension = {
g = 'pccts',
pcmk = 'pcmk',
pdf = 'pdf',
pem = 'pem',
cer = 'pem',
crt = 'pem',
csr = 'pem',
plx = 'perl',
prisma = 'prisma',
psgi = 'perl',

View File

@ -466,6 +466,7 @@ func s:GetFilenameChecks() abort
\ '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'],