Add converted syntax files

This commit is contained in:
Zachary Yedidia
2017-03-21 14:55:22 -04:00
parent fa7f89a400
commit b977bf5cca
104 changed files with 1807 additions and 1233 deletions

17
runtime/syntax/lisp.yaml Normal file
View File

@@ -0,0 +1,17 @@
filetype: lisp
detect:
filename: "(emacs|zile)$|\\.(el|li?sp|scm|ss)$"
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: " + +| + +"