3 Commits

Author SHA1 Message Date
Iron-E
f4bb0c5641
feat(persistence): pre_save option to call before saving (#22)
* feat(persistence): `pre_save` option to call before saving

This commit adds the `pre_save` option, which is a `fun()|nil` that will
be called (if present) before saving the current session. Use cases
include filtering buffers, executing `User` autocmds, etc.

* docs: `pre_save` option
2023-02-28 10:05:58 +01:00
Folke Lemaitre
c304745096
feat!: save sessions in state instead of config 2023-01-04 13:52:49 +01:00
Folke Lemaitre
a39f3f10c8
feat: added config options 2021-07-12 10:47:09 +02:00