mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 13:15:08 +00:00
806 B
806 B
🍿 notify
📚 Types
---@alias snacks.notify.Opts snacks.notifier.Notif.opts|{once?: boolean}
📦 Module
Snacks.notify()
---@type fun(msg: string|string[], opts?: snacks.notify.Opts)
Snacks.notify()
Snacks.notify.error()
---@param msg string|string[]
---@param opts? snacks.notify.Opts
Snacks.notify.error(msg, opts)
Snacks.notify.info()
---@param msg string|string[]
---@param opts? snacks.notify.Opts
Snacks.notify.info(msg, opts)
Snacks.notify.notify()
---@param msg string|string[]
---@param opts? snacks.notify.Opts
Snacks.notify.notify(msg, opts)
Snacks.notify.warn()
---@param msg string|string[]
---@param opts? snacks.notify.Opts
Snacks.notify.warn(msg, opts)