Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta.embedded scope should reset color #2

Open
emmachase opened this issue Aug 27, 2020 · 2 comments
Open

meta.embedded scope should reset color #2

emmachase opened this issue Aug 27, 2020 · 2 comments

Comments

@emmachase
Copy link

As is, styles surrounding embedded code leak their styles into the embedded blocks.

@onecrayon
Copy link
Owner

Can you please provide a document where this behavior is present, and let me know what line has the problem?

@emmachase
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants