update vscode langservers

This commit is contained in:
jacekpoz 2024-07-10 21:08:29 +02:00
parent 50f80225a2
commit bac97e0849
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -11,7 +11,7 @@
inherit (lib) getExe getExe' mkEnableOption mkIf; inherit (lib) getExe getExe' mkEnableOption mkIf;
clangd = getExe' pkgs.clang-tools "clangd"; clangd = getExe' pkgs.clang-tools "clangd";
css-languageserver = getExe pkgs.nodePackages.vscode-css-languageserver-bin; css-languageserver = getExe pkgs.vscode-langservers-extracted;
in { in {
options.myOptions.programs.helix.enable = mkEnableOption "helix"; options.myOptions.programs.helix.enable = mkEnableOption "helix";
@ -33,8 +33,7 @@ in {
nil nil
clang-tools clang-tools
nodePackages.bash-language-server nodePackages.bash-language-server
nodePackages.vscode-css-languageserver-bin vscode-langservers-extracted
nodePackages.vscode-langservers-extracted
]) ])
]; ];
}); });
@ -78,7 +77,7 @@ in {
clangd.fallbackFlags = [ "-std=c++2b" ]; clangd.fallbackFlags = [ "-std=c++2b" ];
}; };
vscode-css-language-server = { vscode-css-language-server = {
command = css-languageserver; command = "${css-languageserver}";
args = [ "--stdio" ]; args = [ "--stdio" ];
}; };
}; };