7 Commits

Author SHA1 Message Date
thrasr
21846c7dce Fixes ruby syntax highlighting regex
The current regex for ruby constants has an error and matches way more than it
should.  It overwrites the reserved words and most variable names with bright
blue - making it hard to read.  Change the regex to match exactly 1 of $|@|@@
instead of matching 1 or 0.
2019-03-24 13:18:55 -04:00
Elof
3cfc98eb57 Color trailing whitespace green 2016-12-06 22:14:27 +01:00
ThomasR
bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00
Matthew Cox
6e75adacec Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 2014-08-02 23:25:00 +01:00
Jon Langevin
24c990d008 Added extra ruby syntax files 2012-10-12 11:26:13 -04:00
Jason Ormand
ce86b23d6b added Gemfile, Rakefile and config.ru to ruby syntax file 2012-09-26 10:56:21 -04:00
Anthony Scopatz
2d2bb4ba12 First nanorc commit. 2010-07-28 17:15:43 -05:00