mirror of
https://github.com/scopatz/nanorc
synced 2024-11-25 09:55:40 +01:00
Merge pull request #113 from CoffeeTableEnnui/patch-4
Update number highlighting
This commit is contained in:
commit
8093ed16c8
@ -30,7 +30,8 @@ color magenta "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
|
|||||||
color magenta "[(){}]" "\[" "\]"
|
color magenta "[(){}]" "\[" "\]"
|
||||||
|
|
||||||
## numbers
|
## 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
|
## strings
|
||||||
color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
||||||
|
Loading…
Reference in New Issue
Block a user