mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +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}"
|
||||
|
||||
## comments
|
||||
color green "#.*$"
|
||||
color green "^#.*|[[:space:]]#.*$"
|
||||
|
||||
## block comments
|
||||
#color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''"
|
||||
|
|
Loading…
Reference in New Issue
Block a user