diff --git a/doc/persisted.nvim.txt b/doc/persisted.nvim.txt index c75aa11..ad5e087 100644 --- a/doc/persisted.nvim.txt +++ b/doc/persisted.nvim.txt @@ -90,7 +90,7 @@ The plugin is designed to work with startup screens like vim-startify out of the box. It will never load 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. @@ -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 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 - 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 - 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 }, })