nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

[BUG] svelte lsp doesn't work with svelte 5

Open purepani opened this issue 1 year ago • 0 comments

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;
     } ;
  };
}

purepani avatar May 09 '24 15:05 purepani