Skip to content

Commit

Permalink
Make Python comment rule more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-v committed Jan 4, 2019
1 parent be1c690 commit b364e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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="'''"
Expand Down

0 comments on commit b364e4b

Please sign in to comment.