We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require('persisted').setup { save_dir = vim.fn.expand(vim.fn.stdpath 'data' .. '/sessions/'), autosave = true, should_autosave = function() vim.notify 'Session saved' end, telescope = { reset_prompt_after_deletion = true, }, }
No response
It will pump up my saved session when I use :SessionLoad or :SessionLoadLast or :Telescope persisted
Nothing, I checked the session directory and it's completely empty
minimal.lua
SessionSave
SessionLoad
The text was updated successfully, but these errors were encountered:
should_autosave should return a boolean
should_autosave
Sorry, something went wrong.
Really? lol Thanks a lot
@ruanyouxing the example in the readme gives a clear example.
If you wish to do any notifying after the session loads I'd recommend the callbacks section.
olimorris
No branches or pull requests
Your Persisted.nvim config
Error messages
No response
Describe the bug
What I expected to be happended
It will pump up my saved session when I use :SessionLoad or :SessionLoadLast or :Telescope persisted
What actually happended
Nothing, I checked the session directory and it's completely empty
![image](https://user-images.githubusercontent.com/87190231/222476864-96d7a9d6-c728-4912-a4a3-696c3b07c33f.png)
Reproduce the bug
Final checks
minimal.lua
config file above and still get the issueSessionSave
to save the session before restarting Neovim and usingSessionLoad
The text was updated successfully, but these errors were encountered: