]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/lfe.micro
Added some SCSS keywords for the css/scss highlighting
[micro.git] / runtime / syntax / lfe.micro
1 syntax "lfe" "lfe$" "\.lfe$"
2
3 # Parens are everywhere!
4 color statement "\("
5 color statement "\)"
6
7 # Good overrides for LFE in particular
8 color type "defun|define-syntax|define|defmacro|defmodule|export"
9
10 # Dirty base cases stolen from the generic lisp syntax
11 color constant "\ [A-Za-z][A-Za-z0-9_-]+\ "
12 color statement "\(([-+*/<>]|<=|>=)|'"
13 color constant.number "\<[0-9]+\>"
14 color constant.string "\"(\\.|[^"])*\""
15 color special "['|`][A-Za-z][A-Za-z0-9_-]+"
16 color constant.string "\\.?"
17 color comment "(^|[[:space:]]);.*"
18
19 # Some warning colors because our indents are wrong.
20 color ,green "[[:space:]]+$"
21 color ,red "    + +| +  +"