Le Monday 16 January 2012, à 22:36:43PM +0100, Bram a écrit : 

> > It's highlighted as a spell error. 

> Perhaps this change helps:
> 
> --- syntax/mail.vim~    2012-01-16 22:29:36.000000000 +0100
> +++ syntax/mail.vim     2012-01-16 22:29:41.000000000 +0100
> @@ -40,7 +40,7 @@
>  syn region     mailHeaderKey   contained 
> contains=mailHeaderEmail,mailEmail,@mailQuoteExps,@NoSpell start="\v(^(\> 
> ?)*)@<=(to|b?cc):" skip=",$" end="$"
>  syn match      mailHeaderKey   contained 
> contains=mailHeaderEmail,mailEmail,@NoSpell "\v(^(\> 
> ?)*)@<=(from|reply-to):.*$" fold
>  syn match      mailHeaderKey   contained contains=@NoSpell "\v(^(\> 
> ?)*)@<=date:"
> -syn match      mailSubject     contained "\v^subject:.*$" fold
> +syn match      mailSubject     contained contains=@NoSpell "\v^subject:.*$" 
> fold
>  syn match      mailSubject     contained contains=@NoSpell "\v(^(\> 
> ?)+)@<=subject:.*$"
>  
>  " Anything in the header between < and > is an email address

I've just tested that change, and seems to cause the subject content to not be
checked at all anymore.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui