mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Added yield colors to python and cython.
This commit is contained in:
parent
ce6c53c280
commit
62f7045000
@ -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)\>"
|
||||
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)\>"
|
||||
|
||||
# Cython Keyword Color
|
||||
|
@ -6,7 +6,7 @@ icolor brightred "def [0-9A-Z_]+"
|
||||
|
||||
|
||||
#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)\>"
|
||||
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)\>"
|
||||
|
||||
#Operator Color
|
||||
|
Loading…
Reference in New Issue
Block a user