I'm working with Rails and using Ruby 1.9 in SublimeText, but it does some quirky highlighting with Ruby 1.9's new hash syntax.
For example, with the following hash, which is pretty common for rails:
<%= link_to some_page_here_path, class: "btn btn-primary" %>
The class
keyword is highlighted, when it's not actually a real keyword but instead just a simple hash key. I'd prefer if it were styled as a symbol (which it is in Ruby 1.9) instead of a reserved word. This applies for the other reserved words as well, 'for', 'while', 'do', etc.
Is there a way to make this work in the existing Ruby.tmLanguage, or a tmLanguage file that already does it? Appreciate any help. Thanks!