micro/runtime/syntax/xresources.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

15 lines
386 B
YAML

filetype: xresources
detect:
filename: "X(defaults|resources)$"
rules:
- special: "^[[:alnum:]]+\\*"
- identifier.var: "\\*[[:alnum:]]+\\:"
- constant.number: "\\b[0-9]+\\b"
- symbol.operator: "[*:=]"
- constant.bool: "\\b(true|false)\\b"
- comment: "(^|[[:space:]])!([^{].*)?$"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"