2017-03-21 21:55:22 +03:00
|
|
|
filetype: lisp
|
|
|
|
|
|
|
|
detect:
|
2021-08-07 03:38:22 +03:00
|
|
|
filename: "(emacs|zile)$|\\.(el|li?sp|scm|ss|rkt)$"
|
2017-03-21 21:55:22 +03:00
|
|
|
|
|
|
|
rules:
|
|
|
|
- default: "\\([a-z-]+"
|
|
|
|
- symbol: "\\(([\\-+*/<>]|<=|>=)|'"
|
|
|
|
- constant.number: "\\b[0-9]+b>"
|
|
|
|
- special: "\\bnil\\b"
|
|
|
|
- preproc: "\\b[tT]b>"
|
|
|
|
- constant.string: "\\\"(\\\\.|[^\"])*\\\""
|
|
|
|
- constant.specialChar: "'[A-Za-z][A-Za-z0-9_-]+"
|
|
|
|
- constant.specialChar: "\\\\.?"
|
|
|
|
- comment: "(^|[[:space:]]);.*"
|
|
|
|
- indent-char.whitespace: "[[:space:]]+$"
|
|
|
|
- indent-char: " + +| + +"
|