* syntax/perl.syntax: Fix highlight the hashes.

* syntax/diff.syntax: highlight comments (lines begin with #),
        and garbage in diff files.
This commit is contained in:
Andrew V. Samoilov 2004-10-05 05:56:03 +00:00
parent 650d04146e
commit 2d48b95137
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,10 @@
2004-09-17 Dmitry Alexeyev <dmi_a@qnx.org.ru> 2004-10-05 Gergely Sza'sz,,, <szaszg@hu.inter.net>
* syntax/perl.syntax: Fix highlight the hashes.
* syntax/diff.syntax: highlight comments (lines begin with #),
and garbage in diff files.
2004-09-17 Dmitry Alexeyev <dmi_a@qnx.org.ru>
* mc.qpg.in: New file. Description for QNX 6.x packager. * mc.qpg.in: New file. Description for QNX 6.x packager.

View File

@ -1,6 +1,6 @@
# Highlighting for various diffs including those generated by CVS # Highlighting for various diffs including those generated by CVS
# Comments to Pavel Roskin <pavel_roskin@geocities.com> # Comments to Pavel Roskin <pavel_roskin@geocities.com>
context default context default gray
keyword linestart @@*@@ cyan keyword linestart @@*@@ cyan
keyword linestart Index:\s brown keyword linestart Index:\s brown
keyword linestart \s black white keyword linestart \s black white
@ -9,6 +9,7 @@ context default
keyword linestart ---*---- cyan keyword linestart ---*---- cyan
context exclusive linestart @@*@@ \n brightcyan context exclusive linestart @@*@@ \n brightcyan
context exclusive linestart Index:\s \n black white context exclusive linestart Index:\s \n black white
context exclusive linestart \s \n lightgray blue
context linestart diff \n white red context linestart diff \n white red
context linestart ---\s \n brightmagenta context linestart ---\s \n brightmagenta
context linestart \+\+\+\s \n brightmagenta context linestart \+\+\+\s \n brightmagenta
@ -27,3 +28,4 @@ context linestart Common\s \n yellow black
context linestart File\s \n yellow black context linestart File\s \n yellow black
context linestart Files\s \n yellow black context linestart Files\s \n yellow black
context linestart Binary\s \n yellow black context linestart Binary\s \n yellow black
context linestart # \n brightcyan

View File

@ -69,7 +69,6 @@ context default
keyword - yellow keyword - yellow
keyword \* yellow keyword \* yellow
keyword / yellow keyword / yellow
keyword % yellow
keyword = yellow keyword = yellow
keyword != yellow keyword != yellow
keyword == yellow keyword == yellow
@ -102,13 +101,15 @@ context default
keyword whole STDARGV brightred keyword whole STDARGV brightred
keyword whole DATA brightred keyword whole DATA brightred
keyword & brightmagenta
keyword wholeright $+ brightgreen/PaleGreen keyword wholeright $+ brightgreen/PaleGreen
keyword wholeright %+ brightcyan keyword wholeright %+ brightcyan
keyword wholeright @+ white keyword wholeright @+ white
keyword \\" brightred keyword \\" brightred
keyword \\' brightred keyword \\' brightred
keyword % yellow
keyword & brightmagenta
keyword whole and magenta keyword whole and magenta
keyword whole or magenta keyword whole or magenta
keyword whole not magenta keyword whole not magenta