From 761019816a004897845b45466cece4ae3d357bb2 Mon Sep 17 00:00:00 2001 From: Luis <53346834+luismeyer95@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:05:54 +0100 Subject: [PATCH] fix(subprocess): disable swap files (#311) --- lua/neotest/lib/subprocess.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neotest/lib/subprocess.lua b/lua/neotest/lib/subprocess.lua index 1120af0d..df91c4db 100644 --- a/lua/neotest/lib/subprocess.lua +++ b/lua/neotest/lib/subprocess.lua @@ -38,7 +38,7 @@ function neotest.lib.subprocess.init() logger.error("Failed to start server: " .. parent_address) return end - local cmd = { vim.loop.exepath(), "--embed", "--headless" } + local cmd = { vim.loop.exepath(), "--embed", "--headless", "-n" } logger.info("Starting child process with command: " .. table.concat(cmd, " ")) success, child_chan = pcall(nio.fn.jobstart, cmd, { rpc = true,