commit c923eb9c6a049cb013733f0b2d7c01da39844c8a
parent 6cca33745c6732c76c5f8ec693a68591fb12f99d
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 6 Jun 2006 22:15:44 +0000
add minor documentation fixes from John M. Gabriele
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3629 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -496,6 +496,13 @@ CVS code -
- Simplify the extensions associated with the "nanorc" regexes.
(DLR)
- Add regexes for Ruby. (John M. Gabriele, minor tweaks by DLR)
+- doc/nanorc.sample.in:
+ - Add comments describing the relationships between syntax file
+ names and the names used as their short descriptions. (John M.
+ Gabriele)
+- doc/man.nanorc:
+ - Change the name of the "manpage" regexes to "man", for
+ consistency. (John M. Gabriele)
- doc/nanorc.nanorc:
- Tweak the "nanorc" regexes to color comments starting with a
double ## cyan instead of bright blue. (John M. Gabriele)
diff --git a/doc/nanorc.sample.in b/doc/nanorc.sample.in
@@ -206,6 +206,11 @@
##
## include "syntax file"
##
+## The name of the syntax file (without the ".nanorc" extension) should
+## be the same as the "short description" name inside that file. These
+## names are kept fairly short to make them easier to remember and
+## faster to type using nano's -Y option.
+##
## All regexes should be extended regular expressions.
diff --git a/doc/syntax/man.nanorc b/doc/syntax/man.nanorc
@@ -1,6 +1,6 @@
## Here is an example for manpages.
##
-syntax "manpage" "\.[1-9]x?$"
+syntax "man" "\.[1-9]x?$"
color green "\.(S|T)H.*$"
color brightgreen "\.(S|T)H" "\.TP"
color brightred "\.(BR?|I[PR]?).*$"