fix(lang): neotest not loading rust tests (#3544)

fixes https://github.com/LazyVim/LazyVim/issues/3543
This commit is contained in:
Ian 2024-06-09 14:37:08 +08:00 committed by GitHub
parent aa059e0d49
commit 0567b37f61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,12 +119,10 @@ return {
{
"nvim-neotest/neotest",
optional = true,
opts = function(_, opts)
opts.adapters = opts.adapters or {}
vim.list_extend(opts.adapters, {
require("rustaceanvim.neotest"),
})
end,
opts = {
adapters = {
["rustaceanvim.neotest"] = {},
},
},
},
}