Skip to content

Commit

Permalink
fix: use default interval for vim.wait
Browse files Browse the repository at this point in the history
  • Loading branch information
willothy committed Dec 24, 2024
1 parent 86f2b3a commit 4258a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/flatten/guest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function M.maybe_block(block)
vim.wait(math.huge, function()
return waiting == false
or vim.api.nvim_get_chan_info(host) == vim.empty_dict()
end, 1000)
end)
vim.cmd.qa({ bang = true })
end

Expand Down

0 comments on commit 4258a0a

Please sign in to comment.