Open FalkoJoseph opened 5 months ago
For Vue, you should already have support adding lang="postcss"
to your style
tag. An for the other case, Zed doesn't have support yet for PostCSS files.
Hope it helps!
Update: About Zed not supporting PostCSS, the CSS parser seems to have some basic support for PostCSS syntax, but in the Neovim ecosystem I see that they use the SCSS parser for that. So we may have better support when #5356 is fixed.
Check for existing issues
Describe the feature
Added screenshots for clarity to describe these two issues.
1. Missing support for Tailwind (3.x)
@apply
syntax in.vue
files is not supported:Description: the CSS of a sample Single File Component in Vue. As you can see the
@apply
syntax is not supported:Description: the error that Project Diagnostics returns, which is identical to above and confirms that it's not supported:
3. Syntax highlighting for Tailwind (3.x) in
.css
files is not supported:Description: the CSS highlighting is broken in
.css
files when using Tailwind's@apply
.If applicable, add mockups / screenshots to help present your vision of the feature
No response