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
master
David Lawrence Ramsey 2006-06-01 01:58:42 +00:00
parent 3dc0e23e0c
commit 5f90b4fbd8
2 changed files with 4 additions and 3 deletions

View File

@ -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:

View File

@ -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))?\>"