runtime/syntax/lisp.yaml
raw| 1 | filetype: lisp |
| 2 | |
| 3 | detect: |
| 4 | filename: "(emacs|zile)$|\\.(el|li?sp|scm|ss|rkt)$" |
| 5 | |
| 6 | rules: |
| 7 | - default: "\\([a-z-]+" |
| 8 | - symbol: "\\(([\\-+*/<>]|<=|>=)|'" |
| 9 | - constant.number: "\\b[0-9]+b>" |
| 10 | - special: "\\bnil\\b" |
| 11 | - preproc: "\\b[tT]b>" |
| 12 | - constant.string: "\\\"(\\\\.|[^\"])*\\\"" |
| 13 | - constant.specialChar: "'[A-Za-z][A-Za-z0-9_-]+" |
| 14 | - constant.specialChar: "\\\\.?" |
| 15 | - comment: "(^|[[:space:]]);.*" |
| 16 | - indent-char.whitespace: "[[:space:]]+$" |
| 17 | - indent-char: " + +| + +" |