Some time ago (basically when I discovered overriding color schemes), I started doing something like FichteFoll’s comment here to highlight embedded syntaxes.
Fichte said that they use source source, text source, source text
to tweak the color scheme for nested scopes. Looking at it again, I started to wonder whether there’s a terser way with logical operators to write the same thing: (text | source) (text | source)
. (This becomes more important if you want to style a third level of nesting.)
But doing that affects the whole file, not just the embeds. What am I doing wrong?