Bug#307946: add muttng to filetype.vim for mail syntax highlighting

Gaudenz Steinlin Gaudenz Steinlin <gaudenz@debian.org>, 307946@bugs.debian.org
Fri, 06 May 2005 18:37:01 +0200


This is a multi-part MIME message sent by reportbug.

--===============0785440990==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: vim-common
Version: 1:6.3-071+1
Severity: wishlist
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Newer versions of muttng create temporary files with muttng in 
the name when composing mail. The attached patch enables syntax
highlighting for these files.

Gaudenz

- -- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.10-powerpc
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)

Versions of packages vim-common depends on:
ii  vim                          1:6.3-071+1 Vi IMproved - enhanced vi editor

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCe50t8rUqXQpftocRAoGcAJ9n+BdzvAISTojze1sSOHV9a8Ye0gCfVRy2
gqA+QMsQIKpab3zIYaPb/K0=
=zTHF
-----END PGP SIGNATURE-----

--===============0785440990==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="vim-filetype.diff"

--- filetype.vim.orig	2005-05-06 18:18:46.042678732 +0200
+++ filetype.vim	2005-05-06 18:26:28.705120246 +0200
@@ -751,7 +751,7 @@
 au BufNewFile,BufRead *.mgp			setf mgp
 
 " Mail (for Elm, trn, mutt, rn, slrn)
-au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt-*-\w\+,mutt\w\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
+au BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,mutt-*-\w\+,mutt\w\{6\},muttng-*-\w\+,muttng\w\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
 
 " Mailcap configuration file
 au BufNewFile,BufRead .mailcap,mailcap		setf mailcap

--===============0785440990==--