1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00
nixvim/tests/test-sources/plugins/utils/persistence.nix
2024-05-05 22:00:40 +02:00

21 lines
362 B
Nix

{
empty = {
plugins.persistence.enable = true;
};
defaults = {
plugins.persistence = {
enable = true;
dir.__raw = ''vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/")'';
options = [
"buffers"
"curdir"
"tabpages"
"winsize"
];
preSave = null;
saveEmpty = false;
};
};
}