plugins.persistence.settings
Options provided to the require('persistence').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
branch = false;
need = 0;
}
Declared by:
plugins.persistence.settings.branch
Use git branch to save session.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.persistence.settings.dir
Directory where session files are saved.
Type: null or string or raw lua code
Default:
null
Plugin default: lib.nixvim.mkRaw "vim.fn.expand(vim.fn.stdpath('state') .. '/sessions/')"
Declared by:
plugins.persistence.settings.need
Minimum number of file buffers that need to be open to save. Set to 0 to always save.
Type: null or unsigned integer, meaning >=0, or raw lua code
Default:
null
Plugin default: 1
Declared by: