diff --git a/python.nanorc b/python.nanorc index 0c755411..b70cd62c 100644 --- a/python.nanorc +++ b/python.nanorc @@ -15,9 +15,6 @@ color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&" #Parenthetical Color color magenta "[(){}]" "\[" "\]" -#Comment Color -color brightblue "#.*$" - #String Color 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="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''" +#Comment Color +color brightblue "#.*$" +