Patch 8.2.0713
Problem: The pam_environment file is not recognized.
Solution: Add a filetype pattern for pamenv. (closes #6051)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.0712/runtime/filetype.vim 2020-04-29 23:01:46.317364426
+0200
--- runtime/filetype.vim 2020-05-07 18:49:36.470272234 +0200
***************
*** 1133,1138 ****
--- 1133,1141 ----
" Pam conf
au BufNewFile,BufRead */etc/pam.conf setf pamconf
+ " Pam environment
+ au BufNewFile,BufRead .pam_environment setf pamenv
+
" PApp
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
*** ../vim-8.2.0712/src/testdir/test_filetype.vim 2020-04-29
23:01:46.317364426 +0200
--- src/testdir/test_filetype.vim 2020-05-07 18:50:08.066173020 +0200
***************
*** 322,327 ****
--- 322,328 ----
\ 'openroad': ['file.or'],
\ 'ora': ['file.ora'],
\ 'pamconf': ['/etc/pam.conf'],
+ \ 'pamenv': ['/home/user/.pam_environment'],
\ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'],
\ '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'],
*** ../vim-8.2.0712/src/version.c 2020-05-07 18:43:40.867365982 +0200
--- src/version.c 2020-05-07 18:50:40.274071632 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 713,
/**/
--
hundred-and-one symptoms of being an internet addict:
64. The remote to the T.V. is missing...and you don't even care.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202005071652.047Gq0Wn005997%40masaka.moolenaar.net.