Given the string "text text #{interpolation}" Sublime Text 2 highlights the whole string with one color. I would like to highlight the interpolated text so it is easy to pick out. 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), what format that rule would take, and how to go about assigning a color to it.
"#{and}"is "String embedded-source" for that syntax. The theme file will tell sublime to use a certain color/background for all "String embedded-source" instances. - d_rail