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

Feature request: support for the source.css.postcss scope #8

Open
andreavaccari opened this issue May 14, 2021 · 0 comments
Open

Feature request: support for the source.css.postcss scope #8

andreavaccari opened this issue May 14, 2021 · 0 comments

Comments

@andreavaccari
Copy link

Hi @jonathantneal. Thank you for your work on this extension.

I'm using the Svelte VS Code extension which adds the source.css.postcss scope to styles contained in a <style lang="postcss"> tag. I'm also using postcss-preset-env and I'd like to use your extension for syntax highlighting.

Unfortunately, your extension contributes to the source.css scope and not source.css.postcss. The latter scope is also used by the popular Vetur extension, so I believe it'd be a good idea to update your extension to add support for both scopes.

I tried but couldn't figure out how to do this without either dropping support for the source.css scope (which I assume you want to maintain) or duplicating the grammar definition file for the other scope. I'm hoping you would consider addressing this yourself. You can read more about this here.

Thank you!

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

1 participant