mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-13 22:37:21 +03:00
c43c048783
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
29 lines
697 B
Plaintext
29 lines
697 B
Plaintext
## Colouring for Changelogs.
|
|
|
|
syntax "changelog" "Change[Ll]og.*"
|
|
|
|
# Author lines.
|
|
color green "^(19|20).*$"
|
|
# Dates.
|
|
color red "^(19|20)[0-9-]{8}"
|
|
# Email addresses.
|
|
color yellow "<[^>]*@[^>]*>"
|
|
|
|
# Command-line options.
|
|
color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+"
|
|
# Bug and patch numbers.
|
|
color cyan "bug #[0-9]{5,9}" "patch #[0-9]{4,9}"
|
|
# Probable constants, for variety.
|
|
color brightred "\<[A-Z_][0-9A-Z_]+\>"
|
|
# Key sequences.
|
|
color brightblue "\^[A-Z]" "\<M-." "\<F1?[0-9]" "(\^|M-)Space"
|
|
|
|
# Changed files.
|
|
color magenta start="^( | {8})\* " end="(:( |$)|^$)"
|
|
|
|
# Release markers.
|
|
color brightblue "^(GNU )?nano[- ][0-9]\.[0-9]\.[^ ]+"
|
|
|
|
# Trailing whitespace.
|
|
color ,green "[[:space:]]+$"
|