From f6e906c05874d729ba450cd907ce392b11b46f6c Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 2 Oct 2024 12:28:17 +0200 Subject: [PATCH] rust-analyzer: enabele all features --- modules/lsp.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/lsp.nix b/modules/lsp.nix index 59b1f1a..9c03465 100644 --- a/modules/lsp.nix +++ b/modules/lsp.nix @@ -73,6 +73,10 @@ in installCargo = false; installRustc = false; package = rust; + settings = { + cargo.features = "all"; + check.features = "all"; + }; }; sqls.enable = true; taplo.enable = true; @@ -155,10 +159,10 @@ in }; }; - keymaps = [ { + keymaps = [{ mode = "n"; key = "tld"; action = "(toggle-lsp-diag)"; options.desc = "Toggle LSP diagnostics"; - } ]; + }]; }