From a87dc80dea9c3e4924eaab6c21f8a2cfd275ef28 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 2 May 2024 03:22:44 +0000 Subject: [PATCH] deploy: d25492788c238bb21f7696e83fe354beaf11b3aa --- options.html | 524 ++++++++++++++++++++++++++++++++++++++++++++- release-notes.html | 3 +- 2 files changed, 522 insertions(+), 5 deletions(-) diff --git a/options.html b/options.html index 889db75..2927bd7 100644 --- a/options.html +++ b/options.html @@ -28249,18 +28249,534 @@ string

-

Override options from the default notification config

+

Overrides the default configuration for a notification group defined +in vim.visuals.fidget-nvim.setupOpts.notification.configs.

If any of the fields are null, the value from the default +configuration is used.

If default configuration is not defined, the following defaults are used:

   {
+       name = "Notifications",
+       icon = "❰❰",
+       ttl = 5,
+       group_style = "Title",
+       icon_style = "Special",
+       annote_style = "Question",
+       debug_style = "Comment",
+       info_style = "Question",
+       warn_style = "WarningMsg",
+       error_style = "ErrorMsg",
+       debug_annote = "DEBUG",
+       info_annote = "INFO",
+       warn_annote = "WARN",
+       error_annote = "ERROR",
+       update_hook = function(item)
+         notification.set_content_key(item)
+       end,
+   }
+

Type: -attribute set of attribute set of anything

+attribute set of (submodule)

-

Default:

{
+

Default: +{ }

+ +

Example:

{
   rust_analyzer = {
-    name = "rust-analyzer";
+    name = "Rust Analyzer";
   };
 }
+
 
+

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.annote_separator + + +
+
+

Separator between message from annote

+ +

Type: +null or string

+ +

Default: +" "

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.annote_style + + +
+
+

Default style used to highlight item annotes

+ +

Type: +null or string

+ +

Default: +"Question"

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.debug_annote + + +
+
+

Default annotation for debug items

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.debug_style + + +
+
+

Style used to highlight debug item annotes

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.error_annote + + +
+
+

Default annotation for error items

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.error_style + + +
+
+

Style used to highlight error item annotes

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.group_style + + +
+
+

Style used to highlight group name

+ +

Type: +null or string

+ +

Default: +"Title"

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.icon + + +
+
+

Icon of the group, displayed in the notification window. +Can be a string or a function that returns a string.

If a function, it is invoked every render cycle with the items +list, useful for rendering animations and other dynamic content.

Note

If you’re looking for detailed information into the function +signature, you can refer to the fidget API documentation available +here

+ +

Type: +null or string or (luaInline)

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.icon_on_left + + +
+
+

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

+ +

Type: +null or boolean

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.icon_style + + +
+
+

Style used to highlight icon, if null, use group_style

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.info_annote + + +
+
+

Default annotation for info items

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.info_style + + +
+
+

Style used to highlight info item annotes

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.name + + +
+
+

Name of the group, displayed in the notification window. +Can be a string or a function that returns a string.

If a function, it is invoked every render cycle with the items +list, useful for rendering animations and other dynamic content.

Note

If you’re looking for detailed information into the function +signature, you can refer to the fidget API documentation available +here

+ +

Type: +null or string or (luaInline)

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.priority + + +
+
+

Order in which group should be displayed

+ +

Type: +null or signed integer

+ +

Default: +50

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.render_limit + + +
+
+

How many notification items to show at once

+ +

Type: +null or signed integer

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.skip_history + + +
+
+

Whether messages should be preserved in history

+ +

Type: +null or boolean

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.ttl + + +
+
+

How long a notification item should exist

+ +

Type: +null or signed integer

+ +

Default: +5

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.update_hook + + +
+
+

Called when an item is updated.

If false, no action is taken. +If a function, it is invoked with the item being updated.

Note

If you’re looking for detailed information into the function +signature, you can refer to the fidget API documentation available +here

+ +

Type: +null or boolean or (luaInline)

+ +

Default: +false

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.warn_annote + + +
+
+

Default annotation for warn items

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/visuals/fidget/fidget.nix> + +
+
+
+ + vim.visuals.fidget-nvim.setupOpts.progress.display.overrides.<name>.warn_style + + +
+
+

Style used to highlight warn item annotes

+ +

Type: +null or string

+ +

Default: +null

+

Declared by:

diff --git a/release-notes.html b/release-notes.html index 92d881a..50530c2 100644 --- a/release-notes.html +++ b/release-notes.html @@ -142,7 +142,8 @@ nvim-notify documentation.

Release 0.7

Table of Contents

Changelog

Release notes for release 0.7

Changelog

ItsSorae:

  • Added support for typst under vim.languages.typst. -This will enable the typst-lsp language server, and the typstfmt formatter.

+This will enable the typst-lsp language server, and the typstfmt formatter.

frothymarrow: