olimorris 2023-02-23 11:20:02 +00:00
commit 5caed0b024
1 changed files with 1 additions and 6 deletions

View File

@ -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
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
},
})