fix(lang): neotest not loading rust tests

This commit is contained in:
zspher 2024-06-08 21:31:18 +08:00
parent 51854046db
commit 504e01f571
No known key found for this signature in database
GPG key ID: 58A2293163A15B00

View file

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