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

[BUG] Svelte syntax highlighting broken #1923

Closed
anotherhadi opened this issue Jul 25, 2024 · 2 comments
Closed

[BUG] Svelte syntax highlighting broken #1923

anotherhadi opened this issue Jul 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@anotherhadi
Copy link

Field Description
Plugin tree-sitter I guess
Nixpkgs unstable
Home Manager unstable
  • [ x] I have read the FAQ and my bug is not listed there.

Description

My svelte syntax highlighting isbroken

image

Minimal, Reproducible Example (MRE)

programs.nixvim = {
  enable= true;
  plugins.treesitter.enable = true;
}
@anotherhadi anotherhadi added the bug Something isn't working label Jul 25, 2024
@MattSturgeon
Copy link
Member

You also need plugins.treesitter.settings.highlight.enable, since treesitter doesn't enable highlighting by default.

We used to do this for you, but that changed recently.

@anotherhadi
Copy link
Author

Ohh that's why It stopped working! Fixed, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants