mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-30 05:46:28 -04:00
* Added ct, git, glsl, json, pascal, sol, and text * ct * \n * Added dart, keymap, lily, mail, ocaml, r, and rest
26 lines
602 B
YAML
26 lines
602 B
YAML
filetype: mail
|
|
|
|
detect:
|
|
filename: "(.*/mutt-.*|\\.eml)$"
|
|
header: "^From .* \\d+:\\d+:\\d+ \\d+"
|
|
|
|
rules:
|
|
- yellow: "^From .*"
|
|
- identifier: "^[^[:space:]]+:"
|
|
- preproc: "^List-(Id|Archive|Subscribe|Unsubscribe|Post|Help):"
|
|
- constant: "^(To|From):"
|
|
- constant.string:
|
|
start: "^Subject:.*"
|
|
end: "$"
|
|
rules:
|
|
- constant.specialChar: "\\\\."
|
|
- statement: "<?[^@[:space:]]+@[^[:space:]]+>?""
|
|
- default:
|
|
start: "^\\n\\n"
|
|
end: ".*"
|
|
rules: []
|
|
- comment:
|
|
start: "^>.*"
|
|
end: "$"
|
|
rules: []
|