-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
PostCSS syntax highlighting is broken since v0.25.5 #191
Comments
You need to install additional extension for postcss syntax highlighting, because vscode do not built-in support postcss syntax highlighting, see https://github.com/johnsoncodehk/volar#note. If you have not, in version 0.25.4 it's show incorrect syntax highlighting and it's bug. |
I know and have Do you recommend another one? |
I tried out |
I'm not sure why, it seems to be related to this issue csstools/postcss-language#6. |
@christhofer |
@johnsoncodehk |
Syntax highlighting and language support is deal with separately.
|
Sorry for bring up this thread. The reason for this seems to be that |
@xymopen Can you remove |
Yes. Using |
@xymopen Please try change |
I still have the same problem in November 2024. In a Vue file with lang="postcss", everything is shown in plain white. |
I noticed that since version 0.25.5 of Volar, the syntax highlighting of
<style lang="postcss"></style>
blocks is broken and doesn't highlight anything anymore.When I remove
lang="postcss"
the highlighting works again (I assume because the block is now considered normal CSS), but now I get linting errors from Stylelint (because it assumes normal CSS).I noticed in the changelog that you made a bunch of changes with language support, maybe that's why it broke for PostCSS.
The text was updated successfully, but these errors were encountered: