test(git): speed up the hunks test setup with a flush hook
This commit is contained in:
@@ -399,6 +399,11 @@ end
|
||||
|
||||
local schedule, sched_handle = util.keyed_debounce(recompute, 100)
|
||||
|
||||
---@param buf integer
|
||||
function M._flush(buf)
|
||||
sched_handle.flush(buf)
|
||||
end
|
||||
|
||||
---@param buf integer
|
||||
function M.attach(buf)
|
||||
if states[buf] then
|
||||
|
||||
Reference in New Issue
Block a user