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="'''" +