Files
zyedidia.micro/runtime/syntax/lfe.micro
2017-03-01 17:08:56 -05:00

22 lines
660 B
Plaintext

syntax "lfe" "lfe$" "\.lfe$"
# Parens are everywhere!
color statement "\("
color statement "\)"
# Good overrides for LFE in particular
color type "defun|define-syntax|define|defmacro|defmodule|export"
# Dirty base cases stolen from the generic lisp syntax
color constant "\ [A-Za-z][A-Za-z0-9_-]+\ "
color symbol.operator "\(([-+*/<>]|<=|>=)|'"
color constant.number "\b[0-9]+\b"
color constant.string "\"(\\.|[^"])*\""
color special "['|`][A-Za-z][A-Za-z0-9_-]+"
color constant.string "\\.?"
color comment "(^|[[:space:]]);.*"
# Some warning colors because our indents are wrong.
color indent-char.whitespace "[[:space:]]+$"
color indent-char " + +| + +"