Perl sytax patch for \n and .



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 gmail com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]