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.
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 usingpostcss-preset-env
and I'd like to use your extension for syntax highlighting.Unfortunately, your extension contributes to the
source.css
scope and notsource.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!