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