diff --git a/ChangeLog b/ChangeLog index d3a1b6c07a7266dc96a62462cfa40e6e7d505ea8..e26cf9761508a80a0b2f09b8600328a7198ed205 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-03-30 Benno Schulenberg <bensberg@justemail.net> + * doc/syntax/changelog.nanorc: New file, first attemp at colouring + Changelog files. + 2014-03-30 Mike Frysinger <vapier@gentoo.org> * doc/Makefile.am, doc/man/Makefile.am, doc/man/fr/Makefile.am - The build already provides a standard htmldir for installing html diff --git a/doc/syntax/changelog.nanorc b/doc/syntax/changelog.nanorc new file mode 100644 index 0000000000000000000000000000000000000000..99b46ca55f63b4250c22425709fea24798dd5b10 --- /dev/null +++ b/doc/syntax/changelog.nanorc @@ -0,0 +1,19 @@ +## Colouring for Changelogs. +## +syntax "changelog" "^Change[Ll]og" + +# Author lines. +color green "^(19|20).*$" +# Dates. +color red "^(19|20)[-0123456789]*" +# Email addresses. +color yellow "<[^>]*@[^>]*>" + +# Changed files. +color magenta "[[:space:]]\*[[:space:]].*:" + +# Probable variables, for variety. +color brightred "\<[A-Z_][0-9A-Z_]+\>" + +# Trailing whitespace. +color ,green "[[:space:]]+$"