1
0
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:
Simon Volpert 2018-03-17 10:35:56 +02:00
parent b364e4bf4d
commit c3c1996717
No known key found for this signature in database
GPG Key ID: C88435385910CF33

View File

@ -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