plugins.fidget.settings.notification.configs

How to configure notification groups when instantiated.

A configuration with the key "default" should always be specified, and is used as the fallback for notifications lacking a group key.

Type: null or (attribute set of (raw lua code or (attribute set of anything) or raw lua code)) or raw lua code

Default: null

Plugin default:

{
  default = lib.nixvim.mkRaw "require(\"fidget.notification\").default_config";
}

Declared by:

plugins.fidget.settings.notification.filter

Minimum log level to display.

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.settings.notification.history_size

Number of removed messages to retain in history.

Set to 0 to keep around history indefinitely (until cleared).

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 128

Declared by:

plugins.fidget.settings.notification.override_vim_notify

Automatically override vim.notify() with Fidget.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.fidget.settings.notification.poll_rate

How frequently to update and render notifications. Measured in Hertz (frames per second).

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 10

Declared by:

plugins.fidget.settings.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 raw lua code or value false (singular enum)

Default: null

Plugin default: lib.nixvim.mkRaw "function(msg, level, opts)\n if opts and opts.on_open then\n return require(\"fidget.integration.nvim-notify\").delegate(msg, level, opts)\n end\nend\n"

Declared by: