Perl sytax patch for \n and .
Matthew
paranoidgeek at gmail.com
Tue May 3 22:17:29 UTC 2005
Hello,
I have made some minor improvement to the syntax highlighting for perl
scripts.
The improvements are highlighting for \n inside double quotes and highlight
for "." ( used in perl to join strings ).
These are very minor but are very handy when writing in perl.
This is a diff file patched against the latest CVS ( ran diff with -c so
that the context of the changes can be seen )
===============
*** perl.syntax.cvs 2005-05-04 10:01:31.000000000 +1200
--- perl.syntax 2005-05-04 10:02:58.000000000 +1200
***************
*** 90,95 ****
--- 90,96 ----
keyword [ brightcyan
keyword ] brightcyan
keyword , brightcyan
+ keyword . brightcyan
keyword .. brightcyan
keyword : brightcyan
keyword ; brightmagenta
***************
*** 349,354 ****
--- 350,356 ----
context " " green
keyword \\" brightgreen
+ keyword \\n brightgreen
keyword \\\\ brightgreen
context ' ' brightgreen
keyword \\' green
===========
Thanks,
--
Matt
paranoidgeek at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050503/dffeb9e2/attachment.html>
More information about the mc-devel
mailing list