Skip to content

Commit

Permalink
Python: Make numbers yellow instead of blue to make them easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-v committed Jan 4, 2019
1 parent b364e4b commit c3c1996
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 @@ -30,7 +30,7 @@ color magenta "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
color magenta "[(){}]" "\[" "\]"

## numbers
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"
icolor brightyellow "\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
Expand Down

0 comments on commit c3c1996

Please sign in to comment.