Skip to content

Commit

Permalink
fix(subprocess): disable swap files (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismeyer95 authored Dec 21, 2023
1 parent ea3badb commit 7610198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neotest/lib/subprocess.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7610198

Please sign in to comment.