plugins/lsp: enable auto-installing rustc and cargo

This commit is contained in:
Gaetan Lepage 2023-11-23 13:53:22 +01:00 committed by Gaétan Lepage
parent c68f2d6270
commit 0b1984ed81
4 changed files with 102 additions and 4 deletions

View file

@ -28,7 +28,11 @@
lsp = {
enable = true;
servers = {
rust-analyzer.enable = true;
rust-analyzer = {
enable = true;
installCargo = true;
installRustc = true;
};
rnix-lsp.enable = true;
};
};
@ -75,7 +79,11 @@
enable = true;
servers = {
rnix-lsp.enable = true;
rust-analyzer.enable = true;
rust-analyzer = {
enable = true;
installCargo = true;
installRustc = true;
};
jsonls.enable = true;
};
};