From: David Lawrence Ramsey Date: Thu, 1 Jun 2006 01:58:42 +0000 (+0000) Subject: in nanorc.sample, per John M. Gabriele's patch, tweak the "nanorc" X-Git-Tag: v1.3.12~79 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f90b4fbd828ef63883aafb89a20e38816fba8ad;p=nano.git in nanorc.sample, per John M. Gabriele's patch, tweak the "nanorc" regexes to color keywords bright green instead of cyan git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3601 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 131a8c5e..0abe3f9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -447,8 +447,9 @@ CVS code - - Further simplify the "groff" regexes. (DLR) - Tweak the "shellscript" regexes to properly color all special variables, such as $? and $@. (Benno Schulenberg) - - Tweak the "nanorc" regexes to color comments bright blue - instead of blue. (John M. Gabriele) + - Tweak the "nanorc" regexes to color keywords bright green + instead of cyan, and comments bright blue instead of blue. + (John M. Gabriele) - Simplify the extensions associated with the "nanorc" regexes. (DLR) - src/Makefile.am: diff --git a/doc/nanorc.sample b/doc/nanorc.sample index e3fb0eb5..3ee572f6 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -370,7 +370,7 @@ ## Possible errors and parameters # icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" ## Keywords -# icolor cyan "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|view|whitespace|wordbounds)\>" +# icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|view|whitespace|wordbounds)\>" # icolor green "^[[:space:]]*(set|unset|include|syntax)\>" ## Colors # icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"