doc/syntax/ruby.nanorc, improve highlighting of constants
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3764
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- doc/syntax/ruby.nanorc:
- Add missing blank line after the first comment, for
consistency. (DLR)
+ - Improve highlighting of constants. (John M. Gabriele, minor
+ tweaks by DLR)
GNU nano 1.3.12 - 2006.06.26
- General:
## Asciibetical list of reserved words
color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>"
## Constants
-color brightblue "(\$|@|@@)?[A-Z]+[0-9A-Z_a-z]*"
+color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*"
## Ruby "symbols"
icolor magenta "([ ]|^):[0-9A-Z_]+\>"
## Some unique things we want to stand out