1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-24 17:45:38 +01:00
nanorc/lisp.nanorc
ThomasR bba53c3940 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
2016-03-02 20:51:19 +01:00

14 lines
383 B
Plaintext

syntax "Lisp" "(emacs|zile)$" "\.(el|li?sp|scm|ss)$"
color brightblue "\([a-z-]+"
color red "\(([-+*/<>]|<=|>=)|'"
color blue "\<[0-9]+\>"
icolor cyan "\<nil\>"
color brightcyan "\<[tT]\>"
color yellow "\"(\\.|[^"])*\""
color magenta "'[A-Za-z][A-Za-z0-9_-]+"
color magenta "\\.?"
color brightblack "(^|[[:space:]]);.*"
color ,green "[[:space:]]+$"
color ,red " + +| + +"