From: David Lawrence Ramsey Date: Sun, 21 May 2006 17:15:06 +0000 (+0000) Subject: properly highlight the "include" command X-Git-Tag: v1.3.12~145 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=376eea3d25139a2b344fc29c639ef695092c8231;p=nano.git properly highlight the "include" command git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3535 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/doc/nanorc.sample b/doc/nanorc.sample index 84b3c3ab..24f412aa 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -364,9 +364,9 @@ # syntax "nanorc" "(\.|/|)nanorc$" ## highlight possible errors and parameters # icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" -## set, unset and syntax +## set, unset, include, syntax, and color # 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 green "^[[:space:]]*(set|unset|syntax)\>" +# 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))?\>" # icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="