From a3daf3a25648f67838d6bf8bd45f5c98ca88d84d Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Fri, 7 Feb 2003 00:11:55 +0000 Subject: [PATCH] - nanorc.sample: - Make nanorc entry less tolerant of invalid colors git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ nanorc.sample | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e826007d..89d3745b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,8 @@ CVS code - Add initialization file comments, change some options from bracketed to underlined to emphasize that they are not optional. +- nanorc.sample: + - Make nanorc entry less tolerant of invalid colors. GNU nano 1.1.99pre2 - 2003.02.03 - General: diff --git a/nanorc.sample b/nanorc.sample index 009bbaeb..d29b29cf 100644 --- a/nanorc.sample +++ b/nanorc.sample @@ -172,6 +172,6 @@ #color brightwhite "^ *syntax [^ ]*" #color brightblue "^ *set\>" "^ *unset\>" "^ *syntax\>" #color white "^ *color\>.*" -#color yellow "^ *color [^ ]*" +#color yellow "^ *color (bright)?(white|black|red|blue|green|yellow|magenta|cyan)\>" #color magenta "^ *color\>" #color green "^#.*$" -- 2.39.5