2014-03-30 21:04:58 +00:00
|
|
|
## Colouring for Changelogs.
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2014-04-13 15:57:05 +00:00
|
|
|
syntax "changelog" "Change[Ll]og.*"
|
2014-03-30 21:04:58 +00:00
|
|
|
|
|
|
|
# Author lines.
|
|
|
|
color green "^(19|20).*$"
|
|
|
|
# Dates.
|
2014-04-13 15:57:05 +00:00
|
|
|
color red "^(19|20)[0-9-]{8}"
|
2014-03-30 21:04:58 +00:00
|
|
|
# Email addresses.
|
|
|
|
color yellow "<[^>]*@[^>]*>"
|
|
|
|
|
|
|
|
# Changed files.
|
|
|
|
color magenta "[[:space:]]\*[[:space:]].*:"
|
|
|
|
|
2014-04-13 15:57:05 +00:00
|
|
|
# Command-line options.
|
|
|
|
color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+"
|
|
|
|
# Bug numbers.
|
|
|
|
color cyan "bug #[0-9]{5}"
|
2014-03-30 21:04:58 +00:00
|
|
|
# Probable variables, for variety.
|
2014-05-16 20:21:34 +00:00
|
|
|
color brightred "\<[A-Z_][0-9A-Z_]+\>"
|
2014-04-13 15:57:05 +00:00
|
|
|
# Key sequences.
|
|
|
|
color brightblue "\^[A-Z]" "\<M-." "\<F1?[0-9]" "(\^|M-)Space"
|
|
|
|
|
2014-03-30 21:04:58 +00:00
|
|
|
# Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|