From df2ffacc0f0db2685477d7d9428522171264f9fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 8 Nov 2024 20:13:24 +0100 Subject: [PATCH] feat: add rust_analyzer --- modules/programs/nvim/new_plugins/lsp.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/programs/nvim/new_plugins/lsp.nix b/modules/programs/nvim/new_plugins/lsp.nix index 99b13e0..afc64ab 100644 --- a/modules/programs/nvim/new_plugins/lsp.nix +++ b/modules/programs/nvim/new_plugins/lsp.nix @@ -8,6 +8,11 @@ in plugins.lsp = { enable = true; inlayHints = true; + servers.rust_analyzer = { + enable = true; + installRustc = false; + installCargo = false; + }; servers.elixirls.enable = true; servers.nextls.enable = true; servers.nil_ls.enable = true;