Package: vim-runtime Version: 1:7.1-056+2 Severity: wishlist Tags: patch It would be nice if this could be included in filetype.vim:
augroup filetypedetect # detect git-send-email messages au! BufRead,BufNewFile .msg.[0-9]* \ if getline(1) =~ '^From .\+ignored\.$' | setfiletype mail | endif augroup END Furthermore, such messages include lines in the body matched by syn region gitComment start=/^GIT: / end=/$/ (or just a syn match) I am not sure how to get syntax highlighting for that to work. A solution might be to introduce a filetype git-mail, which copies emulates 'mail' (if that's possible) and then extends it by a hi def link gitComment Comment -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core) Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash vim-runtime depends on no packages. Versions of packages vim-runtime recommends: ii vim-gtk 1:7.1-056+2 Vi IMproved - enhanced vi editor - ii vim-python 1:7.1-056+2 Vi IMproved - enhanced vi editor - -- no debconf information -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)