commit 136a38af2f057687439fe502f7c3d77e4452a8e3
parent 3a24c12a92f32ef0c5eb0a1728835f0da09b214e
Author: Chris Allegretta <chrisa@asty.org>
Date: Wed, 2 Oct 2002 00:05:40 +0000
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
Diffstat:
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git 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
@@ -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 "^>.*"
+