2016-12-06 17:53:12 +01:00
|
|
|
hook global BufCreate .+\.eml %{
|
|
|
|
set buffer filetype mail
|
|
|
|
}
|
|
|
|
|
2014-06-12 22:52:23 +02:00
|
|
|
addhl -group / group mail
|
|
|
|
addhl -group /mail regex ^(From|To|Cc|Bcc|Subject|Reply-To|In-Reply-To):([^\n]*(?:\n\h+[^\n]+)*)$ 1:keyword 2:attribute
|
|
|
|
addhl -group /mail regex <[^@>]+@.*?> 0:string
|
|
|
|
addhl -group /mail regex ^>.*?$ 0:comment
|
2013-02-21 13:36:25 +01:00
|
|
|
|
2016-09-25 15:15:07 +02:00
|
|
|
hook -group mail-highlight global WinSetOption filetype=mail %{ addhl ref mail }
|
2016-09-28 08:45:01 +02:00
|
|
|
hook -group mail-highlight global WinSetOption filetype=(?!mail).* %{ rmhl mail }
|