doc/syntax/asm.nanorc, doc/syntax/c.nanorc,
doc/syntax/groff.nanorc, doc/syntax/html.nanorc,
doc/syntax/java.nanorc, doc/syntax/man.nanorc,
- doc/syntax/mutt.nanorc, doc/syntax/patch.nanorc,
- doc/syntax/perl.nanorc, doc/syntax/python.nanorc,
- doc/syntax/ruby.nanorc, doc/syntax/sh.nanorc, and
- doc/syntax/tex.nanorc; changes to configure.ac, nano.spec.in,
- doc/Makefile.am, and m4/Makefile.am; removal of
- doc/nanorc.sample. (DLR)
+ doc/syntax/mutt.nanorc, doc/syntax/nanorc.nanorc,
+ doc/syntax/patch.nanorc, doc/syntax/perl.nanorc,
+ doc/syntax/python.nanorc, doc/syntax/ruby.nanorc,
+ doc/syntax/sh.nanorc, and doc/syntax/tex.nanorc; changes to
+ configure.ac, nano.spec.in, doc/Makefile.am, and
+ m4/Makefile.am; removal of doc/nanorc.sample. (DLR)
- browser.c:
do_browser()
- Reference NANO_GOTODIR_(ALT|F)?KEY instead of
##
## All regexes should be extended regular expressions.
-## Here is an example for your .nanorc.
-##
-# syntax "nanorc" "\.?nanorc$"
-## Possible errors and parameters
-# icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
-## Keywords
-# 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))?\>"
-# icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
-## Strings
-# icolor white ""(\\.|[^"])*""
-## Comments
-# icolor brightblue "^[[:space:]]*#.*$"
+## Nanorc files
+# include "@PKGDATADIR@/nanorc.nanorc"
## C/C++
# include "@PKGDATADIR@/c.nanorc"
--- /dev/null
+## Here is an example for nanorc files.
+##
+syntax "nanorc" "\.?nanorc$"
+## Possible errors and parameters
+icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
+## Keywords
+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))?\>"
+icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
+## Strings
+icolor white ""(\\.|[^"])*""
+## Comments
+icolor brightblue "^[[:space:]]*#.*$"