2020-04-10 10:56:41 +00:00
|
|
|
## Syntax highlighting for emails.
|
|
|
|
|
|
|
|
syntax email "\.eml$"
|
|
|
|
|
|
|
|
# Quoted lines.
|
|
|
|
color green "^>.*"
|
|
|
|
color cyan "^> ?>.*"
|
|
|
|
color yellow "^> ?> ?>.*"
|
|
|
|
|
|
|
|
# Email addresses.
|
|
|
|
color brightmagenta "<[^@]+@[^@]+>"
|
|
|
|
|
|
|
|
# URLs.
|
2021-10-18 09:49:52 +00:00
|
|
|
color brightblue "(https?|ftp)://\S+\.\S+[^[:space:].)]"
|
2020-04-10 10:56:41 +00:00
|
|
|
|
|
|
|
# Signatures, even quoted ones.
|
|
|
|
color yellow start="^>* ?-- $" end="^>* ?$"
|