2016-09-04 09:11:30 +00:00
|
|
|
syntax "lfe" "lfe$" "\.lfe$"
|
|
|
|
|
|
|
|
|
|
# Parens are everywhere!
|
2017-03-03 16:47:03 +00:00
|
|
|
color symbol.brackets "\(|\)"
|
2016-09-04 09:11:30 +00:00
|
|
|
|
|
|
|
|
# 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_-]+\ "
|
2017-03-03 16:47:03 +00:00
|
|
|
color symbol.operator "\(([\-+*/<>]|<=|>=)|'"
|
2017-03-01 22:08:56 +00:00
|
|
|
color constant.number "\b[0-9]+\b"
|
2016-09-04 09:11:30 +00:00
|
|
|
color constant.string "\"(\\.|[^"])*\""
|
2017-03-03 16:47:03 +00:00
|
|
|
color special "['|`][A-Za-z][A-Za-z0-9_\-]+"
|
|
|
|
|
color constant.specialChar "\\.?"
|
2016-09-04 09:11:30 +00:00
|
|
|
color comment "(^|[[:space:]]);.*"
|
|
|
|
|
|
|
|
|
|
# Some warning colors because our indents are wrong.
|
2017-03-01 14:30:35 +00:00
|
|
|
color indent-char.whitespace "[[:space:]]+$"
|
|
|
|
|
color indent-char " + +| + +"
|