Highlight a few extra mail headers
This commit is contained in:
parent
5c793a6a1e
commit
d50048d0b4
|
@ -21,7 +21,7 @@ provide-module mail %{
|
||||||
require-module diff
|
require-module diff
|
||||||
|
|
||||||
add-highlighter shared/mail group
|
add-highlighter shared/mail group
|
||||||
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 ^(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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user