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"; - } ]; + }]; }