mirror of
https://github.com/scopatz/nanorc
synced 2024-11-25 01:45:39 +01:00
Python: Make numbers yellow instead of blue to make them easier to read
This commit is contained in:
parent
b364e4bf4d
commit
c3c1996717
@ -30,7 +30,7 @@ color magenta "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
|
|||||||
color magenta "[(){}]" "\[" "\]"
|
color magenta "[(){}]" "\[" "\]"
|
||||||
|
|
||||||
## numbers
|
## 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
|
## strings
|
||||||
|
Loading…
Reference in New Issue
Block a user