fix: incorrect filepath (#865)

This commit is contained in:
yetone
2024-11-18 02:55:44 +08:00
committed by GitHub
parent 3051bfdf24
commit 0b1cd5509e
4 changed files with 19 additions and 6 deletions

View File

@@ -272,7 +272,9 @@ end
---@param msg string|string[]
---@param opts? LazyNotifyOpts
function M.notify(msg, opts)
if vim.in_fast_event() then return vim.schedule(function() M.notify(msg, opts) end) end
if vim.in_fast_event() then
return vim.schedule(function() M.notify(msg, opts) end)
end
opts = opts or {}
if type(msg) == "table" then