mirror of
https://github.com/scopatz/nanorc
synced 2024-12-28 07:54:51 +01:00
Python comments have precedence.
This commit is contained in:
parent
6835567ed2
commit
ca6f04ac2d
|
@ -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 "#.*$"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user