From 6835567ed207c8e0c0aba8d0d52a68090ec7fa5f Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Mon, 20 Feb 2012 01:08:36 -0600 Subject: [PATCH] Silly python edits. --- python.nanorc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python.nanorc b/python.nanorc index b9035e5..0c75541 100644 --- a/python.nanorc +++ b/python.nanorc @@ -15,11 +15,14 @@ color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&" #Parenthetical Color color magenta "[(){}]" "\[" "\]" +#Comment Color +color brightblue "#.*$" + #String Color color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}" color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}" -#color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" -color cyan start=""""" end=""""" start="'''" end="'''" -#Comment Color -color brightblue "#.*$" +#color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" +#color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" +color cyan start="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''" +