1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-29 13:41:04 +01:00
nixvim/tests/test-sources/plugins/by-name/mini-sessions/default.nix
Matt Sturgeon 824e048096 tests/fetch-tests: only apply required args
Using `functionArgs` and `intersectAttrs`, apply only the required args
to test module files.
2025-11-24 11:09:51 +00:00

43 lines
827 B
Nix

{ lib }:
{
empty = {
plugins.mini-sessions.enable = true;
};
defaults = {
plugins.mini-sessions = {
enable = true;
settings = {
autoread = false;
autowrite = true;
file = "Session.vim";
force = {
read = false;
write = true;
delete = false;
};
hooks = {
pre = {
read = lib.nixvim.mkRaw "nil";
write = lib.nixvim.mkRaw "nil";
delete = lib.nixvim.mkRaw "nil";
};
post = {
read = lib.nixvim.mkRaw "nil";
write = lib.nixvim.mkRaw "nil";
delete = lib.nixvim.mkRaw "nil";
};
};
verbose = {
read = false;
write = true;
delete = true;
};
};
};
};
}