Skip to content

Commit

Permalink
Went back to previous version of multi-line python highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Mar 4, 2012
1 parent ca6f04a commit 3874a5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions python.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ color magenta "[(){}]" "\[" "\]"
color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"

color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''"
#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="'''"
#color cyan start=""""" end=""""" start="'''" end="'''"
#color cyan start="("""[^"]|[^"]""")" end="("""[^"]|[^"]""")" start="'''[^']" end="'''"
#color cyan start="\"\"\"" end="\"\"\""


#Comment Color
color brightblue "#.*$"
Expand Down

0 comments on commit 3874a5d

Please sign in to comment.