in nanorc.sample, simplify the "nanorc" regex for commands
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3373 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
cee20e50c6
commit
8e05c315b2
|
@ -91,6 +91,7 @@ CVS code -
|
||||||
by DLR, suggested by John M. Gabriele)
|
by DLR, suggested by John M. Gabriele)
|
||||||
- Explicitly mention that all regexes should be extended regular
|
- Explicitly mention that all regexes should be extended regular
|
||||||
expressions. (DLR, suggested by John M. Gabriele)
|
expressions. (DLR, suggested by John M. Gabriele)
|
||||||
|
- Simplify the "nanorc" regex for commands. (DLR)
|
||||||
- UPGRADE:
|
- UPGRADE:
|
||||||
- Miscellaneous minor fixes. (DLR)
|
- Miscellaneous minor fixes. (DLR)
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@
|
||||||
##
|
##
|
||||||
# syntax "nanorc" "(\.|/|)nanorc$"
|
# syntax "nanorc" "(\.|/|)nanorc$"
|
||||||
## highlight possible errors and parameters
|
## highlight possible errors and parameters
|
||||||
# icolor brightwhite "^[[:space:]]*(set|unset|include|syntax|i?color).*$"
|
# icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
|
||||||
## set, unset and syntax
|
## set, unset and syntax
|
||||||
# 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 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|syntax)\>"
|
||||||
|
|
Loading…
Reference in New Issue