Skip to content

Commit

Permalink
feat(rust): use rustaceanvim neo-test integration instead of `neote…
Browse files Browse the repository at this point in the history
…st-rust`
  • Loading branch information
mehalter committed Feb 5, 2024
1 parent df6ac04 commit b517cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/astrocommunity/pack/rust/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ return {
{
"nvim-neotest/neotest",
optional = true,
dependencies = { "rouge8/neotest-rust" },
opts = function(_, opts)
if not opts.adapters then opts.adapters = {} end
table.insert(opts.adapters, require "neotest-rust"(require("astrocore").plugin_opts "neotest-rust"))
local rustaceanvim_avail, rustaceanvim = pcall(require, "rustaceanvim.neotest")
if rustaceanvim_avail then table.insert(opts.adapters, rustaceanvim) end
end,
},
}

0 comments on commit b517cef

Please sign in to comment.