mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Changed Cython
This commit is contained in:
parent
5ce5119e17
commit
6547a7341b
1 changed files with 3 additions and 3 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
##
|
##
|
||||||
syntax "cython" "\.pyx$" "\.pxd$" "\.pyi$"
|
syntax "cython" "\.pyx$" "\.pxd$" "\.pyi$"
|
||||||
icolor brightred "def [ 0-9A-Z_]+"
|
icolor brightred "def [ 0-9A-Z_]+"
|
||||||
icolor brightred "cpdef [ 0-9A-Z_]+"
|
icolor brightred "cpdef [ 0-9A-Z_]+\(.*?\):"
|
||||||
icolor brightred "cdef cppclass [ 0-9A-Z_]+"
|
icolor brightred "cdef cppclass [ 0-9A-Z_]+\(.*?\):"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -12,7 +12,7 @@ color green "\<(and|as|assert|class|def|del|elif|else|except|exec|finally|for|fr
|
||||||
color brightmagenta "\<(continue|break|return)\>"
|
color brightmagenta "\<(continue|break|return)\>"
|
||||||
|
|
||||||
# Cython Keyword Color
|
# Cython Keyword Color
|
||||||
color green "\<(cdef|cimport|cpdef|cppclass|extern|namespace)\>"
|
color green "\<(cdef|cimport|cpdef|cppclass|ctypedef|extern|namespace|property)\>"
|
||||||
color red "\<(bint|char|double|int|public)\>"
|
color red "\<(bint|char|double|int|public)\>"
|
||||||
|
|
||||||
#Operator Color
|
#Operator Color
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue