refactor(iferr): use new runner

This commit is contained in:
Oleksandr Smirnov 2025-02-26 13:16:10 +02:00
parent 294c07c6aa
commit ddf7d0c77b
No known key found for this signature in database
2 changed files with 22 additions and 10 deletions

View file

@ -23,4 +23,10 @@ function utils.notify(msg, lvl)
log.debug(msg)
end
---@param path string
---@return string
function utils.readfile_joined(path)
return vim.fn.join(vim.fn.readfile(path), "\n")
end
return utils