Merge branch 'main' of https://github.com/olimorris/persistence.nvim
commit
5caed0b024
|
|
@ -90,7 +90,7 @@ The plugin is designed to work with startup screens like vim-startify
|
||||||
<https://github.com/glepnir/dashboard-nvim> out of the box. It will never load
|
<https://github.com/glepnir/dashboard-nvim> out of the box. It will never load
|
||||||
a session automatically by default.
|
a session automatically by default.
|
||||||
|
|
||||||
However, to lazy load the plugin add the `module = "persisted"` line to packer
|
However, to lazy load the plugin add the `module = "persisted"` line to Packer
|
||||||
or `lazy = true` for Lazy.nvim.
|
or `lazy = true` for Lazy.nvim.
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -146,12 +146,7 @@ The plugin comes with the following defaults:
|
||||||
follow_cwd = true, -- change session file name to match current working directory if it changes
|
follow_cwd = true, -- change session file name to match current working directory if it changes
|
||||||
allowed_dirs = nil, -- table of dirs that the plugin will auto-save and auto-load from
|
allowed_dirs = nil, -- table of dirs that the plugin will auto-save and auto-load from
|
||||||
ignored_dirs = nil, -- table of dirs that are ignored when auto-saving and auto-loading
|
ignored_dirs = nil, -- table of dirs that are ignored when auto-saving and auto-loading
|
||||||
before_save = nil, -- function to run before the session is saved to disk
|
|
||||||
after_save = nil, -- function to run after the session is saved to disk
|
|
||||||
after_source = nil, -- function to run after the session is sourced
|
|
||||||
telescope = { -- options for the telescope extension
|
telescope = { -- options for the telescope extension
|
||||||
before_source = nil, -- function to run before the session is sourced via telescope
|
|
||||||
after_source = nil, -- function to run after the session is sourced via telescope
|
|
||||||
reset_prompt_after_deletion = true, -- whether to reset prompt after session deleted
|
reset_prompt_after_deletion = true, -- whether to reset prompt after session deleted
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue