From f7ad8bd70e8a28712ef16ae8bfbe5fbe89ad701a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 21 Apr 2020 13:18:46 +1000 Subject: [PATCH] Highlight mail References headers --- rc/filetype/mail.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/mail.kak b/rc/filetype/mail.kak index 95b7d88a..c99bd68f 100644 --- a/rc/filetype/mail.kak +++ b/rc/filetype/mail.kak @@ -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