forked from aniani/vim
patch 8.2.0713: the pam_environment file is not recognized
Problem: The pam_environment file is not recognized. Solution: Add a filetype pattern for pamenv. (closes #6051)
This commit is contained in:
@@ -1133,6 +1133,9 @@ au BufNewFile,BufRead pf.conf setf pf
|
|||||||
" Pam conf
|
" Pam conf
|
||||||
au BufNewFile,BufRead */etc/pam.conf setf pamconf
|
au BufNewFile,BufRead */etc/pam.conf setf pamconf
|
||||||
|
|
||||||
|
" Pam environment
|
||||||
|
au BufNewFile,BufRead .pam_environment setf pamenv
|
||||||
|
|
||||||
" PApp
|
" PApp
|
||||||
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
|
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
|
||||||
|
|
||||||
|
@@ -322,6 +322,7 @@ let s:filename_checks = {
|
|||||||
\ 'openroad': ['file.or'],
|
\ 'openroad': ['file.or'],
|
||||||
\ 'ora': ['file.ora'],
|
\ 'ora': ['file.ora'],
|
||||||
\ 'pamconf': ['/etc/pam.conf'],
|
\ 'pamconf': ['/etc/pam.conf'],
|
||||||
|
\ 'pamenv': ['/home/user/.pam_environment'],
|
||||||
\ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'],
|
\ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'],
|
||||||
\ 'pascal': ['file.pas', 'file.dpr'],
|
\ 'pascal': ['file.pas', 'file.dpr'],
|
||||||
\ 'passwd': ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak'],
|
\ 'passwd': ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak'],
|
||||||
|
@@ -746,6 +746,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 */
|
||||||
|
/**/
|
||||||
|
713,
|
||||||
/**/
|
/**/
|
||||||
712,
|
712,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user