Skip to content

Commit

Permalink
Merge pull request scopatz#113 from CoffeeTableEnnui/patch-4
Browse files Browse the repository at this point in the history
Update number highlighting
  • Loading branch information
scopatz committed Aug 30, 2016
2 parents 9749264 + fb3e5eb commit 8093ed1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ color magenta "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
color magenta "[(){}]" "\[" "\]"

## numbers
color brightyellow "\b[0-9]+\b"
icolor blue "\b(([1-9][0-9]+)|0+)\.[0-9]+j?\b" "\b([1-9][0-9]*[Lj]?)\b" "\b0o?[0-7]*L?\b" "\b0x[1-9a-f][0-9a-f]*L?\b" "\b0b[01]+\b"


## strings
color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
Expand Down

0 comments on commit 8093ed1

Please sign in to comment.