From c3c19967171cdace5bb1bf310e38f274dc1a0fdd Mon Sep 17 00:00:00 2001 From: Simon Volpert Date: Sat, 17 Mar 2018 10:35:56 +0200 Subject: [PATCH] Python: Make numbers yellow instead of blue to make them easier to read --- python.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.nanorc b/python.nanorc index e5cf6f3..cc98ae2 100644 --- a/python.nanorc +++ b/python.nanorc @@ -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