Releases: folke/persistence.nvim
Releases · folke/persistence.nvim
v3.1.0
3.1.0 (2024-07-07)
Features
- load: fallback to regular session when branch session does not exist (yet) (a93748a)
v3.0.1
3.0.1 (2024-07-07)
Bug Fixes
v3.0.0
3.0.0 (2024-07-06)
⚠ BREAKING CHANGES
- opts.need specifieds how many buffers should be open for saving. Replaces save_empty. Closes #19
- removed load_pre/load_post/save_pre/save_post in favor of events. Check the readme
- removed
opts.options
. Use vim.o.sessionoptions
instead.
Features
- added
require("persistence").select()
to select a session to load (5346b53)
- opts.need specifieds how many buffers should be open for saving. Replaces save_empty. Closes #19 (7bb5755)
- persistence.active. Check if a session saving is active (f0ac0e9)
- persistence: add
pre-
and post-
load hooks (#24) (3d443bd)
- removed
opts.options
. Use vim.o.sessionoptions
instead. (eb5622e)
- removed load_pre/load_post/save_pre/save_post in favor of events. Check the readme (f58a838)
- sessions per branch. Closes #9 (cd0054e)
Bug Fixes
v2.0.0
2.0.0 (2023-10-15)
⚠ BREAKING CHANGES
- start: session name is now based on the cwd when the session starts and not when the session ends. Fixes #1688
Bug Fixes
- start: session name is now based on the cwd when the session starts and not when the session ends. Fixes #1688 (0361df7)
v1.2.1
1.2.1 (2023-10-13)
Bug Fixes
- dont save the session when only
gitcommit
buffers are present. Fixes #14 (8f7cbcc)
v1.2.0
1.2.0 (2023-10-13)
Features
- don't save the session when no files are open (save_empty = false) (e9afeaf)
v1.1.0
1.1.0 (2023-02-28)
Features
- persistence:
pre_save
option to call before saving (#22) (f4bb0c5)
v1.0.1
1.0.1 (2023-01-06)
Bug Fixes
- dont throw error when session was already stopped (70c281e)
v1.0.0
1.0.0 (2023-01-04)
⚠ BREAKING CHANGES
- save sessions in state instead of config
Features
- added config options (a39f3f1)
- inital version (8b32094)
- save sessions in state instead of config (c304745)
Bug Fixes
- dont show errors when loading a session (ad7fcd4)
- properly escape session file names on Windows (#7) (83af96b)
- renamed session to persistence in autocmds (38203a1)
- vim.fn.has('win32') returns 0 or 1, not a boolean (#8) (77cf5a6)