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
2023-10-16 23:54:41 +02:00

16 lines
322 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;
};
};
}