fix(test): hopefully they work
This commit is contained in:
parent
655e032471
commit
8f5e8e3b17
4 changed files with 37 additions and 20 deletions
|
|
@ -75,12 +75,11 @@ end
|
|||
---@param bufnr integer
|
||||
---@return fun()
|
||||
local function create_debounced_highlight(bufnr)
|
||||
---@type uv_timer_t?
|
||||
local timer = nil
|
||||
local timer = nil ---@type table?
|
||||
return function()
|
||||
if timer then
|
||||
timer:stop()
|
||||
timer:close()
|
||||
timer:stop() ---@diagnostic disable-line: undefined-field
|
||||
timer:close() ---@diagnostic disable-line: undefined-field
|
||||
timer = nil
|
||||
end
|
||||
local t = vim.uv.new_timer()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue