64 Commits

Author SHA1 Message Date
Folke Lemaitre
5346b5346a
feat: added require("persistence").select() to select a session to load 2024-07-06 21:24:22 +02:00
Folke Lemaitre
f58a838282
feat!: removed load_pre/load_post/save_pre/save_post in favor of events. Check the readme 2024-07-06 21:23:56 +02:00
Folke Lemaitre
eb5622edae
feat!: removed opts.options. Use vim.o.sessionoptions instead. 2024-07-06 21:22:40 +02:00
github-actions[bot]
08af8fee77
chore(update): update repository (#60)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-06 18:06:06 +02:00
github-actions[bot]
4452f973c3
chore(update): update repository (#59)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-06 14:59:44 +02:00
folke
b915cbd3d1 chore(build): auto-generate docs 2024-07-06 09:48:09 +00:00
Folke Lemaitre
f11c573cb2
ci: update 2024-07-06 11:45:26 +02:00
Folke Lemaitre
57953891f8
ci: update 2024-07-05 19:00:53 +02:00
folke
04599f36b5 chore(build): auto-generate docs 2024-07-05 13:46:37 +00:00
Folke Lemaitre
6a45b4fe2c
ci: update 2024-07-05 15:46:10 +02:00
github-actions[bot]
95d03ad545 chore(build): auto-generate vimdoc 2024-06-12 03:53:44 +00:00
Aaron
a2fd3d9965
fix: remove expand() as stdpath() expands itself (#50) 2024-06-12 05:53:08 +02:00
github-actions[bot]
5fe077056c chore(build): auto-generate vimdoc 2024-05-16 17:03:50 +00:00
Roeeeee
3d443bd0a7
feat(persistence): add pre- and post- load hooks (#24)
* Add optional hook typings to config object

* Add optional hooks conditional calls

* Add hooks description to main readme
2024-05-16 19:03:16 +02:00
github-actions[bot]
4982499c16 chore(build): auto-generate vimdoc 2024-01-19 15:14:59 +00:00
FineFindus
9dbe2648c6
fix: don't save gitrebase session (#44) 2024-01-19 16:14:29 +01:00
Frederik Buchlák
09af251a93
docs: folke => lazy.nvim (#39) 2024-01-19 16:14:01 +01:00
github-actions[bot]
ad538bfd53
chore(main): release 2.0.0 (#36)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v2.0.0
2023-10-15 21:42:03 +02:00
github-actions[bot]
01d7fa95fe chore(build): auto-generate vimdoc 2023-10-15 19:41:11 +00:00
Folke Lemaitre
0361df7775
fix(start)!: session name is now based on the cwd when the session starts and not when the session ends. Fixes #1688 2023-10-15 21:40:27 +02:00
github-actions[bot]
9730a073fd
chore(main): release 1.2.1 (#34)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.2.1
2023-10-13 08:56:34 +02:00
Folke Lemaitre
8f7cbccfb5
fix: dont save the session when only gitcommit buffers are present. Fixes #14 2023-10-13 08:47:08 +02:00
github-actions[bot]
21f55da0d3
chore(main): release 1.2.0 (#33)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.2.0
2023-10-13 07:58:56 +02:00
github-actions[bot]
878c3b32d9 chore(build): auto-generate vimdoc 2023-10-13 05:57:50 +00:00
Folke Lemaitre
e9afeaf3a7
feat: don't save the session when no files are open (save_empty = false) 2023-10-13 07:57:09 +02:00
github-actions[bot]
4b8051c01f chore(build): auto-generate vimdoc 2023-05-22 14:39:07 +00:00
Folke Lemaitre
7b86ec2430
docs: lazy install 2023-05-22 16:38:25 +02:00
Folke Lemaitre
c814fae5c3
chore: update templates 2023-03-19 21:15:43 +01:00
github-actions[bot]
4d2857b647 chore(build): auto-generate vimdoc 2023-03-19 19:37:23 +00:00
Folke Lemaitre
74475d1f7d
chore: update templates 2023-03-19 20:36:39 +01:00
github-actions[bot]
adcf691369
chore(main): release 1.1.0 (#23)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.1.0
2023-02-28 12:43:14 +01:00
github-actions[bot]
5e47847262 chore(build): auto-generate vimdoc 2023-02-28 09:06:44 +00:00
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
github-actions[bot]
d8a3eda0e1 chore(build): auto-generate vimdoc 2023-01-23 19:53:21 +00:00
Folke Lemaitre
b0e2b283c6
ci: checkout v3 2023-01-23 20:52:38 +01:00
github-actions[bot]
cc68aed5a1 chore(build): auto-generate vimdoc 2023-01-17 09:54:20 +00:00
Folke Lemaitre
5b7e71abe9
docs: update path to session in state directory. Fixes #20 2023-01-17 10:53:36 +01:00
github-actions[bot]
8484fdaa28
chore(main): release 1.0.1 (#18)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.0.1
2023-01-06 19:33:37 +01:00
github-actions[bot]
8c40aa7b80 chore(build): auto-generate vimdoc 2023-01-06 18:29:26 +00:00
Folke Lemaitre
70c281e54e
fix: dont throw error when session was already stopped 2023-01-06 19:28:37 +01:00
github-actions[bot]
7421e30704 chore(build): auto-generate vimdoc 2023-01-05 07:38:46 +00:00
Jann Marc
5453a25028
docs: updated session directory (#16)
* Update README.md

* Update docs
2023-01-05 08:38:06 +01:00
github-actions[bot]
ea9d9245d8
chore(main): release 1.0.0 (#15)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.0.0
2023-01-04 20:35:33 +01:00
github-actions[bot]
8692460ed4 chore(build): auto-generate vimdoc 2023-01-04 19:31:45 +00:00
Folke Lemaitre
b146a8e151
ci: templates 2023-01-04 20:30:48 +01:00
folke
0b412a149c chore(docs): auto generate vimdoc 2023-01-04 12:53:20 +00:00
Folke Lemaitre
c304745096
feat!: save sessions in state instead of config 2023-01-04 13:52:49 +01:00
folke
5da6ddd077 chore(docs): auto generate vimdoc 2022-11-30 18:29:17 +00:00
Folke Lemaitre
ad7fcd4fed
fix: dont show errors when loading a session 2022-11-30 19:28:48 +01:00
Folke Lemaitre
251e89523d
build: fixed panvimdoc commit message 2022-09-05 10:45:46 +02:00