From ac709b58f24470817733266ce07a7fc5ca16b3b3 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 21 Mar 2025 00:53:05 +0300 Subject: [PATCH] feat: configure rust-analyzer better --- modules/common/helix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/common/helix.nix b/modules/common/helix.nix index 4055de5..5cf5901 100644 --- a/modules/common/helix.nix +++ b/modules/common/helix.nix @@ -167,7 +167,12 @@ in { }; languages.language-server.rust-analyzer = { - config.check.command = "clippy"; + config = { + cargo.features = "all"; + check.command = "clippy"; + completion.callable.snippets = "add_parentheses"; + completion.excludeTraits = [ "yansi::Paint" ]; + }; }; settings.theme = "gruvbox_dark_hard";