diff --git a/README.md b/README.md index d573806..b2c6b4c 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ require("telescope").load_extension("persisted") The plugin is designed to work with startup screens like [vim-startify](https://github.com/mhinz/vim-startify) or [dashboard](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 or `lazy = true` for Lazy.nvim. +However, to lazy load the plugin add the `module = "persisted"` line to Packer or `lazy = true` for Lazy.nvim. ## :rocket: Usage @@ -132,12 +132,7 @@ require("persisted").setup({ 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 }, })