mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
style: debug formatting
This commit is contained in:
parent
1c854d7a6d
commit
b2673f1057
2 changed files with 5 additions and 5 deletions
|
@ -118,7 +118,7 @@ end
|
|||
|
||||
---@param msg string|table
|
||||
---@param level? number
|
||||
---@param opts? {lang?:string, title?:string}
|
||||
---@param opts? {lang:string, title:string}
|
||||
function M.log(msg, level, opts)
|
||||
if M.debug then
|
||||
msg = vim.deepcopy(msg)
|
||||
|
@ -208,7 +208,7 @@ function M.load(modkey, modpath)
|
|||
entry.hash = hash
|
||||
|
||||
if M.debug then
|
||||
M.log("`" .. modpath .. "`", nil, { title = "Cache.load" })
|
||||
M.log("`" .. modpath .. "`", vim.log.levels.WARN, { title = "Cache.load" })
|
||||
end
|
||||
|
||||
chunk, err = M._loadfile(entry.modpath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue