+22

Fix Ruby incorrect syntax highlighting of 1.9 hash keywords that use a reserved word.

Tony Mann 11 years ago updated by Jeremy Taylor 10 years ago 3

This post explains the problem well. Hash tags like "end" and "class" in the new 1.9 Hash literal format are hightlighted incorrectly. The post contains a fix that works perfectly, namely to edits the Ruby language file by moving the block of code at lines 201-208 to line 1570.