nixvim
nixvim copied to clipboard
[BUG] svelte lsp doesn't work with svelte 5
| Field | Description |
|---|---|
| Plugin | lsp |
| Nixpkgs | unstable |
| Home Manager | unstable |
- [x] I have read the FAQ and my bug is not listed there.
Description
Currently, the svelte language server doesn't work with svelte 5. I believe that is because the language server just needs to be updated from 16.5 to 16.9 in nixpkgs due to a breaking change in svelte 5 moving a compiler.cjs file.
Minimal, Reproducible Example (MRE)
Use this with a svelte 5 project.
programs.nixvim = {
plugins={
lsp = {
enable=true;
servers.svelte.enable=true;
} ;
};
}