Skip to content

Commit 814f3d2

Browse files
phanenwillothy
authored andcommitted
fix: timeout must be >= 0 for vim.wait
1 parent ab2e108 commit 814f3d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/flatten/guest.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function M.maybe_block(block)
2222
vim.cmd.qa({ bang = true })
2323
end
2424
waiting = true
25-
local res, ctx = vim.wait(0xFFFFFFFFFFFFFFFF, function()
25+
local res, ctx = vim.wait(0X7FFFFFFF, function()
2626
return waiting == false
2727
or vim.api.nvim_get_chan_info(host) == vim.empty_dict()
2828
end, 200, false)

0 commit comments

Comments
 (0)