You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVIM v0.10.1
Build type: RelWithDebInfo
LuaJIT 2.1.1725453128
Run "nvim -V1 -v" for more info
Describe the bug require("neotest").watch.toggle(vim.fn.expand("%")) is throwing a strack trace after an update
E5108: Error executing lua: ...tewolf/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:100: Async task failed without callback: The coroutine failed with this message:
.
...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:36: attempt to call field 'supports_method' (a table value)
stack traceback:
...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua: in function 'get_valid_client'
...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:51: in function 'get_lsp_client'
...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:110: in function 'watch'
...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:160: in function 'func'
...tewolf/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:173: in function <...tewolf/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:172>
stack traceback:
[C]: in function 'error'
...tewolf/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:100: in function 'close_task'
...tewolf/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:122: in function 'step'
...tewolf/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:150: in function 'toggle'
/home/whytewolf/.config/nvim/lua/ww/plugins/neotest.lua:88: in function </home/whytewolf/.config/nvim/lua/ww/plugins/neotest.lua:87>
To Reproduce
Please provide a minimal init.lua to reproduce which can be run as the following:
nvim --clean -u minimal.lua
You can edit the following example file to include your adapters and other required setup.
NeoVim Version
Describe the bug
require("neotest").watch.toggle(vim.fn.expand("%"))
is throwing a strack trace after an updateTo Reproduce
Please provide a minimal
init.lua
to reproduce which can be run as the following:You can edit the following example file to include your adapters and other required setup.
Steps to reproduce the behavior:
:lua require("neotest").watch.toggle(vim.fn.expand("%"))
a. nothing happens, no sidebar nothing
:lua require("neotest").watch.toggle(vim.fn.expand("%"))
againPlease provide example test files to reproduce.
Expected behavior
watch sidebar pops up showing tests.
Additional context
this setup was working last week. and no other changes have taken place besides an update.
The text was updated successfully, but these errors were encountered: