Ticket #1471: mail.syntax

syntax, mail.syntax: add new headers support, change some colors

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
This commit is contained in:
Denis Briand 2009-08-06 15:50:44 +04:00 committed by Stan. S. Krupoderov
parent 324c7cecb6
commit d38ce0dd27
2 changed files with 61 additions and 22 deletions

View File

@ -160,7 +160,7 @@ include lua.syntax
file ..\*\\.([iI][dD][lL])$ CORBA\sIDL
include idl.syntax
file Don_t_match_me Mail\sfolder ^From\s
file Don_t_match_me Mail\sfolder ^(From|Return-(P|p)ath:|From:|Date:)\s
include mail.syntax
file \.procmailrc$ Procmail\sRC\sFile ^#/usr/bin/procmail

View File

@ -3,33 +3,72 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_01234567890.-
context default
spellcheck
context linestart From\s \n\n cyan black
keyword linestart From\s brightred
keyword linestart Received: brightcyan
keyword linestart Date: green
context linestart From\s \n\n cyan
keyword linestart From: brightgreen
keyword linestart To: brightmagenta
keyword linestart Cc: magenta
keyword linestart Subject: brightred
keyword linestart Message-ID: red
keyword linestart In-Reply-To: yellow
keyword linestart References: yellow
keyword linestart MIME-Version: brightblue
keyword linestart Mime-Version: brightblue
keyword linestart Content-Type: brightblue
keyword linestart Content-Disposition: brightblue
keyword linestart Content-Transfer-Encoding: brightblue
keyword linestart +: brown
keyword linestart From\s brightred
keyword <*@*> white
keyword whole +@+ white
keyword linestart To: brightmagenta
keyword linestart Subject: brightred/Orange
keyword linestart +: brown
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightcyan
context linestart Return-path:\s \n\n cyan
keyword linestart From: brightgreen
keyword linestart From\s brightred
keyword <*@*> white
keyword whole +@+ white
keyword linestart To: brightmagenta
keyword linestart Subject: brightred/Orange
keyword linestart +: brown
context linestart Return-Path:\s \n\n cyan
keyword linestart From: brightgreen
keyword linestart From\s brightred
keyword <*@*> white
keyword whole +@+ white
keyword linestart To: brightmagenta
keyword linestart Subject: brightred/Orange
keyword linestart +: brown
context linestart From:\s \n\n cyan
keyword linestart From: brightgreen
keyword linestart From\s brightred
keyword <*@*> white
keyword whole +@+ white
keyword linestart To: brightmagenta
keyword linestart Subject: brightred/Orange
keyword linestart +: brown
context linestart Date:\s \n\n cyan
keyword linestart From: brightgreen
keyword linestart From\s brightred
keyword <*@*> white
keyword whole +@+ white
keyword linestart To: brightmagenta
keyword linestart Subject: brightred/Orange
keyword linestart +: brown
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightcyan
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightcyan
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]>\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]>\[\s\]>\[\s\]> \n brightcyan
context linestart >\[\s\]>\[\s\]>\[\s\]> \n brightred
context linestart >\[\s\]>\[\s\]> \n brightgreen
context linestart >\[\s\]> \n brightcyan
context linestart >\[\s\]> \n brightred
context linestart > \n brightgreen