diff --git a/home/base/tui/editors/neovim/nvim/lua/plugins/astrolsp.lua b/home/base/tui/editors/neovim/nvim/lua/plugins/astrolsp.lua index 569d3fd2..9dffa5cf 100644 --- a/home/base/tui/editors/neovim/nvim/lua/plugins/astrolsp.lua +++ b/home/base/tui/editors/neovim/nvim/lua/plugins/astrolsp.lua @@ -101,6 +101,18 @@ return { filetypes = { "scheme", "scm" }, single_file_support = true, }, + rust_analyzer = { + settings = { + -- Make the rust-analyzer use its own profile, + -- so you can run cargo build without that being blocked while rust-analyzer runs. + ["rust-analyzer"] = { + cargo = { + extraEnv = { CARGO_PROFILE_RUST_ANALYZER_INHERITS = "dev" }, + extraArgs = { "--profile", "rust-analyzer" }, + }, + }, + }, + }, }, -- customize how language servers are attached handlers = { diff --git a/home/base/tui/editors/packages.nix b/home/base/tui/editors/packages.nix index 03f9ec13..3f02bfcf 100644 --- a/home/base/tui/editors/packages.nix +++ b/home/base/tui/editors/packages.nix @@ -64,6 +64,7 @@ # llvmPackages.clang-unwrapped clang-tools lldb + vscode-extensions.vadimcn.vscode-lldb.adapter # codelldb - debugger #-- python pyright # python language server