Package: vim-runtime Version: 1:7.0-219+1 Severity: wishlist File: /usr/share/vim/vim70/filetype.vim Tags: patch
The attached patch makes vim use apache mode for /etc/apache2/conf.d*/*, /etc/apache2/mods-*/*, and /etc/apache2/sites-*/* . - Josh Triplett -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.21-rc2test (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash vim-runtime depends on no packages. Versions of packages vim-runtime recommends: ii vim 1:7.0-219+1 Vi IMproved - enhanced vi editor -- no debconf information
diff -Naur vim70.orig/runtime/filetype.vim vim70/runtime/filetype.vim --- vim70.orig/runtime/filetype.vim 2007-04-27 12:01:08.000000000 -0700 +++ vim70/runtime/filetype.vim 2007-04-27 12:07:33.000000000 -0700 @@ -103,7 +103,7 @@ " Apache config file au BufNewFile,BufRead .htaccess setf apache -au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,apache.conf*,apache2.conf*,/etc/apache2/*.conf* call s:StarSetf('apache') +au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,apache.conf*,apache2.conf*,/etc/apache2/*.conf*,/etc/apache2/conf.*/*,/etc/apache2/mods-*/*,/etc/apache2/sites-*/* call s:StarSetf('apache') " XA65 MOS6510 cross assembler au BufNewFile,BufRead *.a65 setf a65