Skip to content

Commit

Permalink
Added some compiletime evaluation keywords to cython.
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Oct 16, 2012
1 parent 70d0269 commit d59e4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cython.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ icolor brightred "cdef cppclass [ 0-9A-Z_]+\(.*?\):"


# Python Keyword Color
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 green "\<(and|as|assert|class|def|DEF|del|elif|ELIF|else|ELSE|except|exec|finally|for|from|global|if|IF|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with|yield)\>"
color brightmagenta "\<(continue|break|return)\>"

# Cython Keyword Color
Expand Down

0 comments on commit d59e4a6

Please sign in to comment.