Open sovetnik opened 6 months ago
I'm seeing the same error on stock lazyvim go config when hitting "w" in the neotest summary:
E5108: Error executing lua: ...username/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:95: Async task failed without callback: The coroutine failed with this message: ...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:50: attempt to call field 'client' (a nil value) stack traceback: ...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua: in function 'get_lsp_client' ...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:107: in function 'watch' ...e/nvim/lazy/neotest/lua/neotest/consumers/watch/init.lua:157: in function 'toggle' ...lazy/neotest/lua/neotest/consumers/summary/component.lua:184: in function <...lazy/neotest/lua/neotest/consumers/summary/component.lua:183> stack traceback: [C]: in function 'error' ...perrow/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:95: in function 'close_task' ...perrow/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:117: in function 'step' ...perrow/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:145: in function 'run' ...lazy/neotest/lua/neotest/consumers/summary/component.lua:38: in function 'callback' ...im/lazy/neotest/lua/neotest/consumers/summary/canvas.lua:135: in function <...im/lazy/neotest/lua/neotest/consumers/summary/canvas.lua:133>
Thanks for the report, should be fixed now :smile:
Thanks for blazing fast fix, man!
Thanks!
NeoVim Version NVIM v0.9.5 Build type: Release LuaJIT 2.1.1710088188
Describe the bug After update with
nio
dependency, watcher fails to start.To Reproduce Open any
.exs
file and fire watch via<Cmd>lua require('neotest').watch.toggle(vim.fn.expand('%'))<CR>
hotkeyExpected behavior Watcher should start watching and provide test output as in previous version.
Additional info For buffer for example 7, i found a response with
elixirls
. Both commands below give the same result.