Bug#421313: /usr/share/vim/vim70/filetype.vim: Handle xdvi
configuration files with xdefaults mode
Josh Triplett
josh at freedesktop.org
Fri Apr 27 19:53:58 UTC 2007
Package: vim-runtime
Version: 1:7.0-219+1
Severity: wishlist
File: /usr/share/vim/vim70/filetype.vim
Tags: patch
..xdvirc and /etc/texmf/xdvi/XDvi use xdefaults syntax; the attached patch
makes vim use xdefaults mode for them.
- 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
-------------- next part --------------
diff -Naur vim70.orig/runtime/filetype.vim vim70/runtime/filetype.vim
--- vim70.orig/runtime/filetype.vim 2007-04-27 12:09:44.000000000 -0700
+++ vim70/runtime/filetype.vim 2007-04-27 12:31:03.000000000 -0700
@@ -1948,7 +1948,7 @@
au BufNewFile,BufRead *.xs setf xs
" X resources file
-au BufNewFile,BufRead .Xdefaults,.Xpdefaults,.Xresources,xdm-config,*.ad setf xdefaults
+au BufNewFile,BufRead .Xdefaults,.Xpdefaults,.Xresources,xdm-config,*.ad,.xdvirc,/etc/texmf/xdvi/XDvi setf xdefaults
" Xmath
au BufNewFile,BufRead *.msc,*.msf setf xmath
More information about the pkg-vim-maintainers
mailing list