mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Python comments have precedence.
This commit is contained in:
parent
6835567ed2
commit
ca6f04ac2d
1 changed files with 3 additions and 3 deletions
|
|
@ -15,9 +15,6 @@ color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
|
||||||
#Parenthetical Color
|
#Parenthetical Color
|
||||||
color magenta "[(){}]" "\[" "\]"
|
color magenta "[(){}]" "\[" "\]"
|
||||||
|
|
||||||
#Comment Color
|
|
||||||
color brightblue "#.*$"
|
|
||||||
|
|
||||||
#String Color
|
#String Color
|
||||||
color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
||||||
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=""""[^"]" end=""""" start="'''[^']" end="'''"
|
||||||
color cyan start="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''"
|
color cyan start="([[:space:]]"""|^""")" end=""""" start="'''[^']" end="'''"
|
||||||
|
|
||||||
|
#Comment Color
|
||||||
|
color brightblue "#.*$"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue