mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
17 lines
322 B
Nix
17 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;
|
||
|
};
|
||
|
};
|
||
|
}
|