feat: improve logging
This commit is contained in:
parent
2d3432335c
commit
540364926d
3 changed files with 15 additions and 13 deletions
|
|
@ -9,4 +9,10 @@ function M.log(msg, level, override)
|
|||
end
|
||||
end
|
||||
|
||||
function M.progress(msg)
|
||||
vim.schedule(function()
|
||||
vim.notify(('[cp.nvim]: %s'):format(msg), vim.log.levels.INFO)
|
||||
end)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue