mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
21 lines
362 B
Nix
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;
|
|
};
|
|
};
|
|
}
|