From: Benno Schulenberg Date: Sat, 20 Jun 2015 08:44:31 +0000 (+0000) Subject: Stopping the changed-files colour from spilling beyond an empty line. X-Git-Tag: v2.4.2~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=43101391172140d80aad8bf0dc39061dfff3a567;p=nano.git Stopping the changed-files colour from spilling beyond an empty line. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5261 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index c2b55ca4..b3c41eb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ could be determined, so that nano will show a message about it. * doc/syntax/nanorc.nanorc: Colour key-binding lines affirmatively only when the specified menu name is an existing one. + * doc/syntax/changelog.nanorc: Stop the changed-files colour from + spilling beyond a blank line. Also highlight releases. 2015-06-18 Benno Schulenberg * src/rcfile.c: Allow a tiny nano's ~/.nanorc to enable search and diff --git a/doc/syntax/changelog.nanorc b/doc/syntax/changelog.nanorc index b40b936f..904a8c15 100644 --- a/doc/syntax/changelog.nanorc +++ b/doc/syntax/changelog.nanorc @@ -13,13 +13,16 @@ color yellow "<[^>]*@[^>]*>" color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+" # Bug and patch numbers. color cyan "bug #[0-9]{5,6}" "patch #[0-9]{4,5}" -# Probable variables, for variety. +# Probable constants, for variety. color brightred "\<[A-Z_][0-9A-Z_]+\>" # Key sequences. color brightblue "\^[A-Z]" "\