Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: emit
User
autocmd events in addition to hooks (#33)
* feat: emit `ResssionLoadPost` User event on loading a session * feat: emit `User` autocmd for more functions * docs: update docs * feat: emit `User` autocommands on hook dispatch * feat: add `post_detach` hook and autocmd * docs: update docs * feat: include data in detach event payload * feat: add additional options to detach method * refactor: use `remove_tabpage_session` to remove tabpage sessions * docs: add `target_tabpage` parameter * fix: always clear tab session when leaving tab * Revert "refactor: use `remove_tabpage_session` to remove tabpage sessions" This reverts commit 1747ca2. * fix: issues with retrieving name in tab_sessions * docs: fix types * Revert "fix: always clear tab session when leaving tab" This reverts commit 4581337. * throw errors if no session is found to detach from * add `hook_to_event` mapping and check `has_setup` before applying event hooks * remove unecessary delay parameter for `event` function * move detach hook into separate pr * remove hardcoded "Resession" prefix from `event` util method
- Loading branch information