Closed crisidev closed 2 years ago
that is a bit weird, i just ran it in a rust lib.rs
file and I have no issues
maybe you can change this line
local neotest = require "neotest"
to
local found, neotest = pcall(require, "neotest")
if not found then
vim.notify("neotest is not loaded yet", vim.log.levels.ERROR)
return
end
if see if the issue is the lazy loading of neotest
Thanks for double checking. It's probably something in my configuration as neotest.run
exist, but the adapters()
method is never attached to the struct:
print(vim.inspect(require("neotest").run))
{
rerun_task_group = <function 1>,
run = <function 2>,
run_last = <function 3>,
<metatable> = {
__call = <function 4>
}
}
I have tracked it down to the integration with "overseer". If I disable it, adapters()
works as expected.
Nice! Thanks a lot.
Hello, I took the configuration for
neotest
from your repository (thanks for it!!!).I am having some issue with this function
https://github.com/abzcoding/lvim/blob/7695615ccb39cf60a8e656d3463d162e0344b351/lua/user/ntest.lua#L91-L96
It is always returning
I am wondering if the same happens to you or it is something related to config..