plugins.fidget.notification.filter
Minimum notifications level.
Note that this filter only applies to notifications with an explicit numeric level
(i.e., vim.log.levels
).
Set to "off"
to filter out all notifications with an numeric level, or "trace"
to
turn off filtering.
Type: null or unsigned integer, meaning >=0, or one of “off”, “error”, “warn”, “info”, “debug”, “trace”
Default:
null
Plugin default: "info"
Declared by:
plugins.fidget.notification.historySize
Number of removed messages to retain in history.
Set to 0 to keep around history indefinitely (until cleared).
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 128
Declared by:
plugins.fidget.notification.overrideVimNotify
Automatically override vim.notify()
with Fidget.
Equivalent to the following:
fidget.setup({ --[[ options ]] })
vim.notify = fidget.notify
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.fidget.notification.pollRate
How frequently to update and render notifications.
Measured in Hertz (frames per second).
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 10
Declared by:
plugins.fidget.notification.redirect
Conditionally redirect notifications to another backend.
This option is useful for delegating notifications to another backend that supports features Fidget has not (yet) implemented.
For instance, Fidget uses a single, shared buffer and window for rendering all
notifications, so it lacks a per-notification on_open
callback that can be used to,
e.g., set the |filetype|
for a specific notification.
For such notifications, Fidget’s default redirect
delegates such notifications with
an on_open
callback to |nvim-notify|
(if available).
Type: null or lua function string or value false (singular enum)
Default:
null
Plugin default:
''
function(msg, level, opts)
if opts and opts.on_open then
return require("fidget.integration.nvim-notify").delegate(msg, level, opts)
end
end
''
Declared by: