To: vim_dev@googlegroups.com Subject: Patch 8.2.0713 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///