1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-27 13:44:32 +03:00

mail.kak: Recognize Date header

This commit is contained in:
Maxime Coste 2018-07-19 18:39:44 +10:00
parent 40a91b1120
commit ab94d1745e

View File

@ -3,7 +3,7 @@ hook global BufCreate .+\.eml %{
} }
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):([^\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:string
add-highlighter shared/mail/ regex ^>.*?$ 0:comment add-highlighter shared/mail/ regex ^>.*?$ 0:comment