Python comments have precedence.

This commit is contained in:
Anthony Scopatz 2012-02-20 13:51:25 -06:00
parent 6835567ed2
commit ca6f04ac2d

View File

@ -15,9 +15,6 @@ color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
#Parenthetical Color #Parenthetical Color
color magenta "[(){}]" "\[" "\]" color magenta "[(){}]" "\[" "\]"
#Comment Color
color brightblue "#.*$"
#String Color #String Color
color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}" color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}" color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
@ -26,3 +23,6 @@ color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
#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="'''"
#Comment Color
color brightblue "#.*$"