mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 21:01:24 +03:00
483538f8f3
This fixes https://savannah.gnu.org/bugs/?61347.
Bug existed since version 4.9.3, commit 4f9bebdd
.
18 lines
340 B
Plaintext
18 lines
340 B
Plaintext
## Syntax highlighting for emails.
|
|
|
|
syntax email "\.eml$"
|
|
|
|
# Quoted lines.
|
|
color green "^>.*"
|
|
color cyan "^> ?>.*"
|
|
color yellow "^> ?> ?>.*"
|
|
|
|
# Email addresses.
|
|
color brightmagenta "<[^@]+@[^@]+>"
|
|
|
|
# URLs.
|
|
color brightblue "(https?|ftp)://\S+\.\S+[^[:space:].)]"
|
|
|
|
# Signatures, even quoted ones.
|
|
color yellow start="^>* ?-- $" end="^>* ?$"
|