From 9dd7714af81316207156c44b64057f8c307f8766 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Fri, 3 Aug 2012 10:24:53 -0600 Subject: [PATCH] Updated colors for decorators. --- python.nanorc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python.nanorc b/python.nanorc index 5ddf326..3988a92 100644 --- a/python.nanorc +++ b/python.nanorc @@ -9,8 +9,11 @@ icolor brightred "def [0-9A-Z_]+" color green "\<(and|as|assert|class|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with|yield)\>" color brightmagenta "\<(continue|break|return)\>" +# decorator color +color brightgreen "@.*" + #Operator Color -color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&" +color yellow "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&" #Parenthetical Color color magenta "[(){}]" "\[" "\]"