From: Chris Allegretta Date: Fri, 7 Feb 2003 00:11:55 +0000 (+0000) Subject: - nanorc.sample: - Make nanorc entry less tolerant of invalid colors X-Git-Tag: v1.1.99pre3~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a3daf3a25648f67838d6bf8bd45f5c98ca88d84d;p=nano.git - 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 --- 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 "^#.*$"