From 62f70450009197f673406696b9aebeccf8be429d Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Wed, 1 Feb 2012 02:14:24 -0600 Subject: [PATCH] Added yield colors to python and cython. --- cython.nanorc | 2 +- python.nanorc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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