plugin/persistence: init + tests (#645)

This commit is contained in:
traxys 2023-10-16 23:54:41 +02:00 committed by GitHub
parent a9698ea2b0
commit 0b87e5b70c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
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;
};
};
}