Releases: stevearc/resession.nvim
Releases · stevearc/resession.nvim
v1.2.1
v1.2.0
1.2.0 (2023-12-10)
Features
get_current_session_info()
retrieves more data about session (#31) (5fc35f6)- add
tab_scoped
prop toget_current_session_info
dict (#42) (f8ffb22) - configurable sort order in load session selector (#27) (6f13bd0)
- emit
User
autocmd events in addition to hooks (#33) (959256c) - extensions can hook into pre or post load (#30) (dbcb8fc)
- pass
target_tabpage
toext.on_save
(#41) (6ce009e)
Bug Fixes
v1.1.1
v1.1.0
v1.0.0
1.0.0 (2023-06-26)
Features
- add a delete function (71f45fd)
- add fitting kind to vim.ui.select (2cf9577)
- add hooks (350abfc)
- API for loading extensions after setup() (1bf118f)
- autosave in background (9e6b70f)
- autosave will save session on exit (4a7cbc3)
- basic working API (b1985da)
- can set extension config to to disable (5218d25)
- can specify session dir in API calls (0ad0ec7)
- display more information when selecting a session to load (8abb1b9)
- extensions can support special windows (867c830)
- open session into current tab if it's empty (f1374dc)
- pre and post save/load hooks (1ea6209)
- quickfix extension (7446f89)
- save/load current win and cursor positions (1b6268f)
- support autosave on exit (a383c7f)
- support window options and sizes (adaa2ba)
- tab-scoped sessions (555875a)
Bug Fixes
- better support for handling swapfiles on load (8c553c7)
- better support for saving/loading options (84e89c0)
- catch extension errors when configuring (a1dd2f8)
- don't save or load empty buffers (#4) (53b742a)
- error in help doc generation (d8d725a)
- issue with syntax highlighting after load (e3460f4)
- luacheck error (3eb9bc5)
- luacheck errors (156752b)
- luacheck warnings (6b35039)
- potential stack overflow during setup (6bda7fd)
- prevent double-edit of current buffer after load (12a7d39)
- prune tab-scoped sessions for closed tabs (a0eaa81)
- remove hidden dependency on overseer (#3) (0fb1a53)
- remove unused function (1c350a6)
- restore correct tab on load (29ba485)
- restore last cursor position for hidden buffers (#2) (1f30aa2)
- save cmdheight per-tabpage (#7) (c57ff6f)
- save help buffers by default (5a7037c)
- save/load dir argument works with save_all (347e63d)
- saving tab session (e45b8fe)
- stop using vim.wo to set window options (3eae3bb)
- tab_buf_filter shouldn't exclude buffers that are open in the tab (9ca1175)
- tests (da94cdc)
Performance Improvements
- disable most autocmds when saving/loading a session (10ce835)