Merge remote-tracking branch 'arachsys/mail-highlight'

This commit is contained in:
Maxime Coste 2023-12-12 21:20:32 +11:00
commit fda67a7b08

View File

@ -21,8 +21,10 @@ provide-module mail %{
require-module diff require-module diff
add-highlighter shared/mail group add-highlighter shared/mail group
add-highlighter shared/mail/ ref diff
add-highlighter shared/mail/ regex ^(From|To|Cc|Bcc|Subject|Reply-To|In-Reply-To|References|Date|Message-Id|User-Agent):([^\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|Message-Id|User-Agent):([^\n]*(?:\n\h+[^\n]+)*)$ 1:keyword 2:attribute
add-highlighter shared/mail/ regex <[^@>]+@.*?> 0:string add-highlighter shared/mail/ regex <[^@>]+@.*?> 0:string
add-highlighter shared/mail/ regex ^>.*?$ 0:comment add-highlighter shared/mail/ regex ^>.*?$ 0:comment
add-highlighter shared/mail/ regex ^--\ \n.* 0:comment
} }