mirror of
https://github.com/scopatz/nanorc
synced 2024-11-05 01:00:00 +01:00
bba53c3940
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
14 lines
383 B
Plaintext
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 " + +| + +"
|