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
This commit is contained in:
David Lawrence Ramsey 2006-06-06 22:15:44 +00:00
parent 6cca33745c
commit c923eb9c6a
3 changed files with 13 additions and 1 deletions

View File

@ -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)

View File

@ -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.

View File

@ -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]?).*$"