nix-community.nixvim/tests/test-sources/plugins/by-name/persistence/default.nix
Johan Larsson 8899663b59
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>
2025-01-08 15:56:07 +01:00

17 lines
287 B
Nix

{
empty = {
plugins.persistence.enable = true;
};
defaults = {
plugins.persistence = {
enable = true;
settings = {
branch = true;
dir.__raw = ''vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/")'';
need = 1;
};
};
};
}