Highlight mail References headers

This commit is contained in:
Maxime Coste 2020-04-21 13:18:46 +10:00
parent 6dc17cb3b3
commit f7ad8bd70e

View File

@ -15,7 +15,7 @@ hook -group mail-highlight global WinSetOption filetype=mail %{
provide-module mail %{
add-highlighter shared/mail group
add-highlighter shared/mail/ regex ^(From|To|Cc|Bcc|Subject|Reply-To|In-Reply-To|Date):([^\n]*(?:\n\h+[^\n]+)*)$ 1:keyword 2:attribute
add-highlighter shared/mail/ regex ^(From|To|Cc|Bcc|Subject|Reply-To|In-Reply-To|References|Date):([^\n]*(?:\n\h+[^\n]+)*)$ 1:keyword 2:attribute
add-highlighter shared/mail/ regex <[^@>]+@.*?> 0:string
add-highlighter shared/mail/ regex ^>.*?$ 0:comment