Skip to content

Commit

Permalink
Updated colors for decorators.
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Aug 3, 2012
1 parent 023a2c7 commit 9dd7714
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[(){}]" "\[" "\]"
Expand Down

0 comments on commit 9dd7714

Please sign in to comment.