From: Chris Allegretta Date: Wed, 2 Oct 2002 00:05:40 +0000 (+0000) Subject: nanorc.sample: - Add some examples for HTML and TeX files (David Benbennick) X-Git-Tag: v1.1.11~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=136a38af2f057687439fe502f7c3d77e4452a8e3;p=nano.git nanorc.sample: - Add some examples for HTML and TeX files (David Benbennick) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1288 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index aedb9a04..82a93715 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -CVS code - +GNU nano 1.1.11 - 10/01/2002 - General: - Translation updates (see po/ChangeLog for details). - Upgraded to gettext 0.11.5 (Jordi). @@ -128,6 +128,7 @@ CVS code - helped ;-). Some unneeded \'s in that sequence removed, and a new sequence to handle multi-line quotes added, by David Benbennick. + - Add some examples for HTML and TeX files (David Benbennick). - rcfile.c: parse_colors() - Stop infinite loop when syntax doesn't begin with " char. diff --git a/nanorc.sample b/nanorc.sample index 908cd458..cbac07cd 100644 --- a/nanorc.sample +++ b/nanorc.sample @@ -107,7 +107,20 @@ # color brightblue "//.*" # color brightblue start="/\*" end="\*/" +# Here are some short examples for TeX files and HTML +# syntax "HTML" "\.html$" +# +# color blue start="<" end=">" +# color red "&([^; ])*;" +# +# syntax "TeX" "\.tex$" +# +# color green "\\(.|([A-Za-z]*))" +# color magenta "\{" "\}" +# color blue "%.*" + # For this you will probably want to set your editor to "nano -Y mutt" # syntax "mutt" # color green "^>.*" +