]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/lfe.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / lfe.yaml
1 filetype: lfe
2
3 detect: 
4     filename: "lfe$|\\.lfe$"
5
6 rules:
7     - symbol.brackets: "\\(|\\)"
8     - type: "defun|define-syntax|define|defmacro|defmodule|export"
9     - constant: "\\ [A-Za-z][A-Za-z0-9_-]+\\ "
10     - symbol.operator: "\\(([\\-+*/<>]|<=|>=)|'"
11     - constant.number: "\\b[0-9]+\\b"
12     - constant.string: "\\\"(\\\\.|[^\"])*\\\""
13     - special: "['|`][A-Za-z][A-Za-z0-9_\\-]+"
14     - constant.specialChar: "\\\\.?"
15     - comment: "(^|[[:space:]]);.*"
16     - indent-char.whitespace: "[[:space:]]+$"
17     - indent-char: "    + +| +  +"