Commit 682c1d0d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

First attemp at colouring Changelog files.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4697 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 38142830
No related merge requests found
Showing with 23 additions and 0 deletions
+23 -0
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
......
## 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:]]+$"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment