micro/runtime/syntax/lfe.yaml
Yevhen Babiichuk (DustDFG) 426e6c600f
Fix trailing spaces/tabs in yaml syntax files (#3200)
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-03-22 17:56:09 +01:00

18 lines
539 B
YAML

filetype: lfe
detect:
filename: "lfe$|\\.lfe$"
rules:
- symbol.brackets: "\\(|\\)"
- type: "defun|define-syntax|define|defmacro|defmodule|export"
- constant: "\\ [A-Za-z][A-Za-z0-9_-]+\\ "
- symbol.operator: "\\(([\\-+*/<>]|<=|>=)|'"
- constant.number: "\\b[0-9]+\\b"
- constant.string: "\\\"(\\\\.|[^\"])*\\\""
- special: "['|`][A-Za-z][A-Za-z0-9_\\-]+"
- constant.specialChar: "\\\\.?"
- comment: "(^|[[:space:]]);.*"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"