mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Python comments have precedence.
This commit is contained in:
parent
6835567ed2
commit
ca6f04ac2d
@ -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…
Reference in New Issue
Block a user