fixed not highlighting bug

This commit is contained in:
Brian Shu 2021-01-08 08:15:07 -05:00 committed by Thomas Vigouroux
parent 6856e23171
commit 28f2ba475f
2 changed files with 12 additions and 14 deletions

View file

@ -141,15 +141,4 @@ function M.index_of(tbl, obj)
end
end
function M.async(f)
return function(...)
local handle
handle = vim.loop.new_async(vim.schedule_wrap(function(...)
f(...)
handle:close()
end))
handle:send(...)
end
end
return M