mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 11:08:53 +02:00
plugins/lsp: enable auto-installing rustc and cargo
This commit is contained in:
parent
c68f2d6270
commit
0b1984ed81
4 changed files with 102 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue