On 2013-04-17, rj wrote: > On Wed 17 at 02:00 PM -0400, Paul Hoffman wrote: > > > I use vim and it knows I'm editing a file of type muttrc, which is nice. > > Likewise for myself on both counts. > > > My guess is that your editor is applying the wrong syntax hiliting rules. > > This very well could be the case, though I don't quite get why the "%>" > isn't highlighted elsewhere in similar (i.e., status bar) settings. > > Meanwhile I'll have a look at my vim.muttrc (or whatever exactly it's > called.)
This highlighting is determined by the file $VIMRUNTIME/syntax/muttrc.vim. Perhaps yours is old and contains some bugs or does support the version of mutt you're using. Here is the header from mine, with e-mail addresses deleted. " Vim syntax file " Language: Mutt setup files " Original: Preben 'Peppe' Guldberg " Maintainer: Kyle Wheeler " Last Change: 2 Feb 2012 " This file covers mutt version 1.5.21 (and most of the mercurial tip) " Included are also a few features from 1.4.2.1 Regards, Gary