From c2da1c9b19feb0b86bbb943e9d4d83a56b256a10 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Mon, 31 Mar 2025 11:05:13 +0200 Subject: [PATCH] helix: add rust-analyzer --- packages/helix.nix | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/packages/helix.nix b/packages/helix.nix index be236e1..137600e 100644 --- a/packages/helix.nix +++ b/packages/helix.nix @@ -143,27 +143,6 @@ } { name = "rust"; - debugger = { - command = "${lldb_19}/bin/lldb-dap"; - name = "lldb"; - transport = "stdio"; - templates = [ - { - name = "binary"; - request = "launch"; - completion = [ - { - name = "binary"; - completion = "filename"; - } - ]; - args = { - program = "{0}"; - runInTerminal = true; - }; - } - ]; - }; } { name = "c"; @@ -202,6 +181,13 @@ args = ["start"]; }; + rust-analyzer = { + config = { + check.command = "clippy"; + cargo.features = "all"; + }; + }; + clangd = { command = "${clang-tools}/bin/clangd"; clangd.fallbackFlags = ["-std=c++2b"];