Skip to content

Commit

Permalink
Python comments have precedence.
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Feb 20, 2012
1 parent 6835567 commit ca6f04a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
#Parenthetical Color
color magenta "[(){}]" "\[" "\]"

#Comment Color
color brightblue "#.*$"

#String Color
color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
Expand All @@ -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 "#.*$"

0 comments on commit ca6f04a

Please sign in to comment.