diff --git a/cython.nanorc b/cython.nanorc index 66083ea..c7e8ff1 100644 --- a/cython.nanorc +++ b/cython.nanorc @@ -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 diff --git a/python.nanorc b/python.nanorc index ac743db..bd2a5ea 100644 --- a/python.nanorc +++ b/python.nanorc @@ -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