perl syntax fix
Gergely Sza'sz,,,
szaszg at hu.inter.net
Mon Jul 19 22:23:11 UTC 2004
Hi!
A patch, to realy highlight the hashes (%...) in perl.syntax...
An another, to highlight comments (lines begin with #), and garbage in
diff files.
Gergely
--- perl.syntax.orig 2004-07-19 22:12:16.000000000 +0100
+++ perl.syntax 2004-07-19 22:11:41.000000000 +0100
@@ -69,7 +69,6 @@ %+ must before single %
keyword - yellow
keyword \* yellow
keyword / yellow
# %+ must before single %
- keyword % yellow
keyword = yellow
keyword != yellow
keyword == yellow
@@ -102,13 +101,15 @@
keyword whole STDARGV brightred
keyword whole DATA brightred
# OK, just group single 'letters'
- keyword & brightmagenta
keyword wholeright $+ brightgreen/PaleGreen
keyword wholeright %+ brightcyan
keyword wholeright @+ white
keyword \\" brightred
keyword \\' brightred
+ keyword % yellow
+ keyword & brightmagenta
+
keyword whole and magenta
keyword whole or magenta
keyword whole not magenta
--- diff.syntax.orig 2002-10-31 22:58:55.000000000 +0100
+++ diff.syntax 2004-07-19 23:08:33.000000000 +0100
@@ -1,6 +1,6 @@
# Highlighting for various diffs including those generated by CVS
# Comments to Pavel Roskin <pavel_roskin at geocities.com>
-context default
+context default gray
keyword linestart @@*@@ cyan
keyword linestart Index:\s brown
keyword linestart \s black white
@@ -9,6 +9,7 @@
keyword linestart ---*---- cyan
context exclusive linestart @@*@@ \n brightcyan
context exclusive linestart Index:\s \n black white
+context exclusive linestart \s \n lightgray blue
context linestart diff \n white red
context linestart --- \n brightmagenta
context linestart \+\+\+ \n brightmagenta
@@ -27,3 +28,4 @@
context linestart File\s \n yellow black
context linestart Files\s \n yellow black
context linestart Binary\s \n yellow black
+context linestart # \n brightcyan
More information about the mc-devel
mailing list