mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
plugins/mini-notify: init
This commit is contained in:
parent
e2fa3f656c
commit
86ca2b6785
2 changed files with 56 additions and 0 deletions
26
plugins/by-name/mini-notify/default.nix
Normal file
26
plugins/by-name/mini-notify/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "mini-notify";
|
||||
moduleName = "mini.notify";
|
||||
|
||||
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||
|
||||
settingsExample = {
|
||||
content = {
|
||||
format = lib.nixvim.nestedLiteralLua "nil";
|
||||
sort = lib.nixvim.nestedLiteralLua "nil";
|
||||
};
|
||||
|
||||
lsp_progress = {
|
||||
enable = true;
|
||||
level = "INFO";
|
||||
duration_last = 1000;
|
||||
};
|
||||
|
||||
window = {
|
||||
config = lib.literalExpression "lib.nixvim.emptyTable";
|
||||
max_width_share = 0.382;
|
||||
winblend = 25;
|
||||
};
|
||||
};
|
||||
}
|
||||
30
tests/test-sources/plugins/by-name/mini-notify/default.nix
Normal file
30
tests/test-sources/plugins/by-name/mini-notify/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.mini-notify.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.mini-notify = {
|
||||
enable = true;
|
||||
settings = {
|
||||
content = {
|
||||
format = lib.nixvim.mkRaw "nil";
|
||||
sort = lib.nixvim.mkRaw "nil";
|
||||
};
|
||||
|
||||
lsp_progress = {
|
||||
enable = true;
|
||||
level = "INFO";
|
||||
duration_last = 1000;
|
||||
};
|
||||
|
||||
window = {
|
||||
config = lib.nixvim.emptyTable;
|
||||
max_width_share = 0.382;
|
||||
winblend = 25;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue