refactor: cleanup

This commit is contained in:
Folke Lemaitre 2024-06-27 14:43:35 +02:00
commit 461552474c
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 15 additions and 34 deletions

View file

@ -229,14 +229,6 @@ function M.markdown(msg, opts)
)
end
---@async
---@param ms number
function M.sleep(ms)
local async = require("lazy.async").current
assert(async, "Not in an async context")
async:sleep(ms)
end
function M._dump(value, result)
local t = type(value)
if t == "number" or t == "boolean" then