folke
f18d0131ed
chore(build): auto-generate docs
2024-07-07 05:03:13 +00:00
Folke Lemaitre
1565ca0af2
fix(branch): escape branch name. Fixes #65
2024-07-07 07:02:32 +02:00
Folke Lemaitre
2c7d3eb6b8
ci: update
2024-07-06 23:45:36 +02:00
Folke Lemaitre
a1d37fa32e
fix: branch detection. Closes #62
2024-07-06 23:21:20 +02:00
Folke Lemaitre
34f337e383
ci: update
2024-07-06 23:19:54 +02:00
Folke Lemaitre
8b83876213
ci: update
2024-07-06 23:18:35 +02:00
github-actions[bot]
7f1e8ce997
chore(main): release 3.0.0 ( #61 )
...
🤖 I have created a release *beep* *boop*
---
##
[3.0.0](https://github.com/folke/persistence.nvim/compare/v2.0.0...v3.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](5346b5346a
))
* opts.need specifieds how many buffers should be open for saving.
Replaces save_empty. Closes
[#19 ](https://github.com/folke/persistence.nvim/issues/19 )
([7bb5755](7bb575517c
))
* persistence.active. Check if a session saving is active
([f0ac0e9](f0ac0e981e
))
* **persistence:** add `pre-` and `post-` load hooks
([#24 ](https://github.com/folke/persistence.nvim/issues/24 ))
([3d443bd](3d443bd0a7
))
* removed `opts.options`. Use `vim.o.sessionoptions` instead.
([eb5622e](eb5622edae
))
* removed load_pre/load_post/save_pre/save_post in favor of events.
Check the readme
([f58a838](f58a838282
))
* sessions per branch. Closes
[#9 ](https://github.com/folke/persistence.nvim/issues/9 )
([cd0054e](cd0054e6a4
))
### Bug Fixes
* don't save `gitrebase` session
([#44 ](https://github.com/folke/persistence.nvim/issues/44 ))
([9dbe264](9dbe2648c6
))
* opts.need
([9c0e522](9c0e5227fa
))
* remove expand() as stdpath() expands itself
([#50 ](https://github.com/folke/persistence.nvim/issues/50 ))
([a2fd3d9](a2fd3d9965
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v3.0.0
2024-07-06 22:01:55 +02:00
folke
e1e2bf917f
chore(build): auto-generate docs
2024-07-06 20:00:45 +00:00
Folke Lemaitre
cd0054e6a4
feat: sessions per branch. Closes #9
2024-07-06 22:00:20 +02:00
Folke Lemaitre
9c0e5227fa
fix: opts.need
2024-07-06 21:54:41 +02:00
Folke Lemaitre
7bb575517c
feat!: opts.need specifieds how many buffers should be open for saving. Replaces save_empty. Closes #19
2024-07-06 21:41:58 +02:00
Folke Lemaitre
f0ac0e981e
feat: persistence.active. Check if a session saving is active
2024-07-06 21:31:22 +02:00
folke
06e8ef93c8
chore(build): auto-generate docs
2024-07-06 19:24:52 +00:00
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