@ -89,7 +89,8 @@ local fzf_function = function (cb)
end
-- done, we can't call utils.delayed_cb here
-- because sleep() messes up the coroutine
cb(nil, function() end)
cb(nil, function() coroutine.resume(co) end)
coroutine.yield()
end)()
@ -404,7 +404,11 @@ M.diagnostics = function(opts)
-- coroutine.yield()
-- close the pipe to fzf, this
-- removes the loading indicator in fzf
utils.delayed_cb(cb)
-- TODO: why is this causing a bug with
-- 'glepnir/dashboard-nvim'??? (issue #23)
-- utils.delayed_cb(cb)