mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 15:44:41 +02:00
plugins/persistence: convert to mkNeovimPlugin and fix settings
Restrict no nonnegative numbers Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> chore: include optionsRenamedToSettings in TODO Merge imports Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
parent
0ebc64a232
commit
8899663b59
2 changed files with 53 additions and 79 deletions
|
@ -7,15 +7,11 @@
|
|||
plugins.persistence = {
|
||||
enable = true;
|
||||
|
||||
dir.__raw = ''vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/")'';
|
||||
options = [
|
||||
"buffers"
|
||||
"curdir"
|
||||
"tabpages"
|
||||
"winsize"
|
||||
];
|
||||
preSave = null;
|
||||
saveEmpty = false;
|
||||
settings = {
|
||||
branch = true;
|
||||
dir.__raw = ''vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/")'';
|
||||
need = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue