2013-11-13 00:38:00 +04:00
|
|
|
hook global BufSetOption mimetype=message/rfc822 %{ set buffer filetype mail }
|
2013-02-21 16:36:25 +04:00
|
|
|
|
2014-06-13 00:52:23 +04: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 16:36:25 +04:00
|
|
|
|
2016-09-25 16:15:07 +03:00
|
|
|
hook -group mail-highlight global WinSetOption filetype=mail %{ addhl ref mail }
|
2016-09-28 09:45:01 +03:00
|
|
|
hook -group mail-highlight global WinSetOption filetype=(?!mail).* %{ rmhl mail }
|