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?
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?