mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Make Python comment rule more specific
This commit is contained in:
parent
be1c690ef1
commit
b364e4bf4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue