summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-04-21 13:18:46 +1000
committerMaxime Coste <mawww@kakoune.org>2020-04-21 13:21:35 +1000
commitf7ad8bd70e8a28712ef16ae8bfbe5fbe89ad701a (patch)
treed39c8532116406d240694ca731464978299ba992
parent6dc17cb3b3ee516d6bfde69b3b44323589b98a2c (diff)
Highlight mail References headers
-rw-r--r--rc/filetype/mail.kak2
1 files changed, 1 insertions, 1 deletions
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