Given the line "text text #{interpolation}" Sublime Text 2 highlights the entire line in one color. I would like to highlight the interpolated text, so it's easy to select. When I press ctrl-shift-alt-p in the interpolated section, Sublime tells me the namespace: source.ruby string.quoted.double.ruby source.ruby.embedded.source
I am wondering where I would define a rule to highlight this (I think in the tmLanguage file), in what format this rule will accept and how to assign a color to it.
ruby sublimetext2
Tyler Feb 21 '13 at 18:49 2013-02-21 18:49
source share