locale/syntax/els.yaml
2021-11-22 21:05:55 +03:00

13 lines
317 B
YAML

filetype: els
detect:
filename: "\\.els$"
header: "Er2 Locale"
rules:
- comment: ".+" # Comment by default
- constant.string: "\"([^\"]+)\"$" # Non-critical bug
- todo: "(TODO|XXX|FIXME|TRANSLATORS):.+$"
- statement: "^[[:space:]]*[=>]"
- identifier: "[^\\\\]\\$([A-Za-z0-9)]+)"
- special: "\\\\.?"