Skip to content

Commit db17b6d

Browse files
TinCan2davidhcefx
authored andcommitted
enh(py): Added new keywords match and case
Originally proposed in scopatz#434
1 parent dab68d8 commit db17b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python.nanorc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ color green "\<(NoneType|TypeType|IntType|LongType|FloatType|ComplexType|StringT
2525
color green "def [a-zA-Z_0-9]+"
2626
## keywords
2727
color brightred "\<(and|as|from|import|not|or)\>"
28-
color brightcyan "\<(assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|global|if|in|is|lambda|map|pass|raise|return|try|with|while|yield)\>"
28+
color brightcyan "\<(assert|async|await|break|case|class|continue|def|del|elif|else|except|finally|for|global|if|in|is|lambda|map|match|pass|raise|return|try|with|while|yield)\>"
2929

3030
## decorators
3131
color brightgreen "@[a-zA-Z_0-9]+"

0 commit comments

Comments
 (0)