We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79899e9 commit 1758b37Copy full SHA for 1758b37
lua/copilot-lsp/util.lua
@@ -13,6 +13,8 @@ end
13
---@param delay integer
14
function M.debounce(fn, delay)
15
local timer = vim.uv.new_timer()
16
+ assert(timer)
17
+
18
return function(...)
19
local argv = vim.F.pack_len(...)
20
timer:start(delay, 0, function()
0 commit comments