mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
Changed Cython
This commit is contained in:
parent
5ce5119e17
commit
6547a7341b
|
@ -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…
Reference in New Issue
Block a user