meta.embedded scope should reset color
emmachase opened this issue · comments
As is, styles surrounding embedded code leak their styles into the embedded blocks.
Can you please provide a document where this behavior is present, and let me know what line has the problem?
I'm not sure of any builtin languages where this behavior occurs, because for the builtin languages that have embedded languages, they have language-specific overrides, such as variable.js
. However, this can be seen with an external language, like so:
The token myVar
is in the scope of meta.embedded
which should mean that it's coloring should reset and I would expect that token to appear as the default black, inside of leaking the meta.tag
scope.