diff --git a/lua/neotest/lib/subprocess.lua b/lua/neotest/lib/subprocess.lua index 8f2bfe69..c17e5bab 100644 --- a/lua/neotest/lib/subprocess.lua +++ b/lua/neotest/lib/subprocess.lua @@ -55,6 +55,7 @@ function neotest.lib.subprocess.init() local mode = nio.fn.rpcrequest(child_chan, "nvim_get_mode") if mode.blocking then logger.error("Child process is waiting for input at startup. Aborting.") + return end -- Trigger lazy loading of neotest nio.fn.rpcrequest(child_chan, "nvim_exec_lua", "return require('neotest') and 0", {})