From 3874a5db438ccf14d865ed5362e3c2922313d029 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Sun, 4 Mar 2012 16:32:43 -0600 Subject: [PATCH] Went back to previous version of multi-line python highlighting. --- python.nanorc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python.nanorc b/python.nanorc index b70cd62..5ddf326 100644 --- a/python.nanorc +++ b/python.nanorc @@ -19,9 +19,13 @@ color magenta "[(){}]" "\[" "\]" color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}" color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}" +color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" #color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" -#color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" -color cyan start="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''" +#color cyan start="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''" +#color cyan start=""""" end=""""" start="'''" end="'''" +#color cyan start="("""[^"]|[^"]""")" end="("""[^"]|[^"]""")" start="'''[^']" end="'''" +#color cyan start="\"\"\"" end="\"\"\"" + #Comment Color color brightblue "#.*$"