diff --git a/nix/home-manager/modules/packages/neovim.nix b/nix/home-manager/modules/packages/neovim.nix index ea5b5e1..0bea736 100644 --- a/nix/home-manager/modules/packages/neovim.nix +++ b/nix/home-manager/modules/packages/neovim.nix @@ -71,7 +71,15 @@ jsonls.enable = true; pyright.enable = true; # In preference to attempting to use pylyzer nil-ls.enable = true; - rust-analyzer.enable = true; #TODO + rust-analyzer = let + fenix = fenix.latest.withComponents ["cargo" "rustc"]; + in { + enable = true; + installCargo = false; + installRustc = false; + cargoPackage = fenix.cargo; + rustcPackage = fenix.rustc; + }; taplo.enable = true; terraformls.enable = true; };