mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 20:49:47 +03:00
26 lines
599 B
YAML
26 lines
599 B
YAML
filetype: mail
|
|
|
|
detect:
|
|
filename: "(.*/mutt-.*|\\.eml)$"
|
|
header: "^From .* \\d+:\\d+:\\d+ \\d+"
|
|
|
|
rules:
|
|
- type: "^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: []
|