mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Make Python comment rule more specific
This commit is contained in:
parent
be1c690ef1
commit
b364e4bf4d
@ -38,7 +38,7 @@ color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
|||||||
color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
|
color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
|
||||||
|
|
||||||
## comments
|
## comments
|
||||||
color green "#.*$"
|
color green "^#.*|[[:space:]]#.*$"
|
||||||
|
|
||||||
## block comments
|
## block comments
|
||||||
#color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''"
|
#color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''"
|
||||||
|
Loading…
Reference in New Issue
Block a user