[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.1.285-53-g1a3e354

James Vega jamessan at debian.org
Fri Apr 18 03:10:36 UTC 2008


The following commit has been merged in the deb/runtime branch:
commit 1a3e35497d48c8eb73ce3711ebb6469bf8072f9a
Author: James Vega <jamessan at debian.org>
Date:   Thu Apr 17 23:07:15 2008 -0400

    Add detection of more passwd/shadow related files.
    
    Include {passwd,shadow,group,gshadow}.edit (filename used by vipw/vigr)
    Include the .bak files under /var/backups
    Add the - suffix for all the related files under /etc.
    Closes #420304
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a61acb3..e703f92 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -699,7 +699,7 @@ au BufNewFile,BufRead *.groovy			setf groovy
 au BufNewFile,BufRead *.gsp			setf gsp
 
 " Group file
-au BufNewFile,BufRead /etc/group		setf group
+au BufNewFile,BufRead /etc/group{-,.edit,},/etc/gshadow{-,.edit,},/var/backups/{group,gshadow}.bak setf group
 
 " GTK RC
 au BufNewFile,BufRead .gtkrc,gtkrc		setf gtkrc
@@ -1175,7 +1175,7 @@ au BufNewFile,BufRead /etc/pam.conf		setf pamconf
 au BufNewFile,BufRead *.papp,*.pxml,*.pxsl	setf papp
 
 " Password file
-au BufNewFile,BufRead /etc/passwd,/etc/shadow,/etc/shadow- setf passwd
+au BufNewFile,BufRead /etc/passwd{-,.edit,},/etc/shadow{-,.edit,},/var/backups/{passwd,shadow}.bak setf passwd
 
 " Pascal (also *.p)
 au BufNewFile,BufRead *.pas			setf pascal

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list