Rename syntax definitions
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
## Cython nanorc, based off of Python nanorc.
|
||||
##
|
||||
syntax "cython" "\.pyx$" "\.pxd$" "\.pyi$"
|
||||
syntax "Cython" "\.pyx$" "\.pxd$" "\.pyi$"
|
||||
icolor brightred "def [ 0-9A-Z_]+"
|
||||
icolor brightred "cpdef [0-9A-Z_]+\(.*\):"
|
||||
icolor brightred "cdef cppclass [ 0-9A-Z_]+\(.*\):"
|
||||
|
||||
Reference in New Issue
Block a user