textmate / ruby-on-rails-tmbundle

Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]
http://groups.google.com/group/rails-textmate
MIT License
15 stars 22 forks source link

Colorize hash keys looking like Rails functions correctly. #1

Closed noniq closed 12 years ago

noniq commented 12 years ago

Using 1.9 syntax, in { label: "foo" } the key was colorized as Rails function instead of symbol.

This does not happen using the old syntax { :label => "foo" } – but I don’t really know why … Maybe there is a simpler solution instead of changing the regexps for 1.9?