1
0
mirror of https://github.com/scopatz/nanorc synced 2024-10-31 23:00:00 +01:00

Make Python quoted strings brown

This commit is contained in:
Simon Volpert 2018-03-14 18:29:17 +02:00
parent 7e312f8d95
commit 0f2ad69b02
No known key found for this signature in database
GPG Key ID: C88435385910CF33

View File

@ -41,8 +41,9 @@ color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
color green "#.*$" color green "#.*$"
## block comments ## block comments
color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''" #color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''"
#color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''" #color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''"
color yellow 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="("""[^"]|[^"]""")" start="'''[^']" end="'''" #color cyan start="("""[^"]|[^"]""")" end="("""[^"]|[^"]""")" start="'''[^']" end="'''"