plugins.fidget.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.

To see the default config, run: :lua print(vim.inspect(require("fidget.notification").default_config))

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

Default: null

Plugin default:

{
  default = "require('fidget.notification').default_config";
}

Declared by:

plugins.fidget.notification.configs.<name>.annoteSeparator

Separator between message from annote.

Type: null or string or raw lua code

Default: null

Plugin default: "” ”"

plugins.fidget.notification.configs.<name>.annoteStyle

Default style used to highlight item annotes.

Type: null or string or raw lua code

Default: null

Plugin default: "Question"

plugins.fidget.notification.configs.<name>.debugAnnote

Default annotation for debug items.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.debugStyle

Style used to highlight debug item annotes.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.errorAnnote

Default annotation for error items.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.errorStyle

Style used to highlight error item annotes.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.groupStyle

Style used to highlight group name.

Type: null or string or raw lua code

Default: null

Plugin default: "Title"

plugins.fidget.notification.configs.<name>.icon

Icon of the group; if null, no icon is used.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.iconOnLeft

If true, icon is rendered on the left instead of right.

Type: null or boolean

Default: null

plugins.fidget.notification.configs.<name>.iconStyle

Style used to highlight icon; if null, use groupStyle.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.infoAnnote

Default annotation for info items.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.infoStyle

Style used to highlight info item annotes.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.name

Name of the group; if null, the key is used as name.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.priority

Order in which group should be displayed.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 50

plugins.fidget.notification.configs.<name>.renderLimit

How many notification items to show at once.

Type: null or (unsigned integer, meaning >=0)

Default: null

plugins.fidget.notification.configs.<name>.skipHistory

Whether progress notifications should be omitted from history.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

plugins.fidget.notification.configs.<name>.ttl

How long a notification item should exist.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 3

plugins.fidget.notification.configs.<name>.warnAnnote

Default annotation for warn items.

Type: null or string

Default: null

plugins.fidget.notification.configs.<name>.warnStyle

Style used to highlight warn item annotes.

Type: null or string

Default: null