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

Support Pre-/Postprocessor syntax in Vue.js SFC style block #182

Open
spanitz opened this issue Jan 7, 2025 · 3 comments
Open

Support Pre-/Postprocessor syntax in Vue.js SFC style block #182

spanitz opened this issue Jan 7, 2025 · 3 comments

Comments

@spanitz
Copy link

spanitz commented Jan 7, 2025

I noticed that using Monokai Pro there's no syntax highlighting for PostCSS in Vue SFC style tags

Default theme:
Screenshot 2025-01-07 at 18 20 10

Monokai Pro:
Screenshot 2025-01-07 at 18 21 14

  • Sublime Text Build 4189
  • Installed packages (the relevant ones): PostCSS, LSP-Vue, Vue Syntax Highlighting
@Monokai
Copy link
Collaborator

Monokai commented Jan 10, 2025

I've installed PostCSS, LSP-Vue and Vue Syntax Highlighting, but I don't get syntax highlighting, even in the default themes. Inspecting the scope says source.postcss.embedded.html for all code inside <style lang="postcss">, with no distinction of keywords. Do you perhaps have another package installed that would add this?

@deathaxe
Copy link

deathaxe commented Jan 15, 2025

Uninstall Theme - Monokai Pro and you'll get back syntax highlighting.

Syntax highlighting is vanished due to #178.

All the empty dummy syntaxes provided by Monokai Pro, override real syntaxes, causing issues like this one without a chance for anyone to fix it.

Monokai Pro is currently causing active harm to ST's plugin ecosystem and reputation by breaking all sorts of syntax highlightings!

Animation

@spanitz
Copy link
Author

spanitz commented Jan 20, 2025

Uninstall Theme - Monokai Pro and you'll get back syntax highlighting.

Exactly! Sorry didn't mentioned that.

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

3 participants