mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
plugins/notify: add missing options + test
This commit is contained in:
parent
288e46e2d8
commit
ada99e5763
2 changed files with 165 additions and 51 deletions
31
tests/test-sources/plugins/utils/notify.nix
Normal file
31
tests/test-sources/plugins/utils/notify.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.notify.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.notify = {
|
||||
enable = true;
|
||||
|
||||
level.__raw = "vim.log.levels.INFO";
|
||||
timeout = 5000;
|
||||
maxWidth = null;
|
||||
maxHeight = null;
|
||||
stages = "fade_in_slide_out";
|
||||
backgroundColour = "NotifyBackground";
|
||||
icons = {
|
||||
error = "";
|
||||
warn = "";
|
||||
info = "";
|
||||
debug = "";
|
||||
trace = "✎";
|
||||
};
|
||||
onOpen = null;
|
||||
onClose = null;
|
||||
render = "default";
|
||||
minimumWidth = 50;
|
||||
fps = 30;
|
||||
topDown = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue