From ab94d1745e3861e5a924e2acec06948240f40a3c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 19 Jul 2018 18:39:44 +1000 Subject: [PATCH] mail.kak: Recognize Date header --- rc/base/mail.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/mail.kak b/rc/base/mail.kak index 3318a8a9e..b09df7970 100644 --- a/rc/base/mail.kak +++ b/rc/base/mail.kak @@ -3,7 +3,7 @@ hook global BufCreate .+\.eml %{ } add-highlighter shared/mail group -add-highlighter shared/mail/ regex ^(From|To|Cc|Bcc|Subject|Reply-To|In-Reply-To):([^\n]*(?:\n\h+[^\n]+)*)$ 1:keyword 2:attribute +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 <[^@>]+@.*?> 0:string add-highlighter shared/mail/ regex ^>.*?$ 0:comment