olimorris / persisted.nvim

💾 Simple session management for Neovim with git branching, autoloading and Telescope support
MIT License
418 stars 24 forks source link

fix: missing autocmd data when no branch #137

Closed Accurate0 closed 3 weeks ago

Accurate0 commented 3 weeks ago

I ran into an issue with the data not being provided during the PersistedLoad* autocmds, looks like its due to the lack of the branch_separator in my session file names, this passes all tests although not sure if its changing the behavior from intended

olimorris commented 3 weeks ago

Great spot and thanks for the fix!