2
0
Fork 0
nano-syntax-archived/cmake.nanorc
2015-05-02 23:15:14 -06:00

12 lines
405 B
Text

syntax "cmake" "CMakeLists\.txt$|\.cmake$"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color black "[(]"
color brightcyan "\<(ON|OFF|TRUE|FALSE|YES|NO)\>"
color brightyellow "\$\{[A-Za-z0-9_!@#$*?-]+\}"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color magenta "\\([()#$^]|\\|\")"
color cyan "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# +EXTRALINT