Commit Graph

304 Commits (07fd86682f6ebcd29713d66da887187820f9b67e)

Author SHA1 Message Date
Bryan 07fd86682f Use Session* events to fire post load/save events 2024-11-07 11:21:37 -06:00
Bryan d6485bc69f fix pre/post load/save callbacks? 2024-11-07 00:50:50 -06:00
Bryan 28e72fb1ff Remove delays around load and save, create pre/post callbacks instead 2024-11-07 00:22:59 -06:00
Bryan 1bcfe10f2a Use defer_fn() instead of sleep, lets see if this works 2024-11-06 20:49:32 -06:00
Bryan 7b93db8e5c Add sleeps around save/load pre/post to give time for user events to finish 2024-11-06 20:36:34 -06:00
Bryan e87a20b70d Add sleeps around save/load pre/post to give time for user events to finish 2024-11-06 20:35:44 -06:00
Oli e9a179271b
chore(main): release 2.0.1 (#163) 2024-10-17 13:11:23 +01:00
Oli Morris e65093de39 fix: do not autostart the plugin if nvim is passed args 2024-10-17 13:10:04 +01:00
Oli Morris 3006e641e2 docs: update README.md 2024-09-13 10:25:26 +01:00
Oli Morris 46722016e0 docs: update README.md 2024-09-13 10:22:07 +01:00
olimorris a9d1d6e2ce docs: update README.md 2024-09-11 17:35:14 +01:00
Oli 0caa1b4837
chore(main): release 2.0.0 (#157) 2024-09-11 17:25:00 +01:00
olimorris f0f02a990c refactor!: remove support for old config 2024-09-11 17:23:15 +01:00
Oli 1673a295db
chore(main): release 1.1.1 (#154) 2024-09-03 18:50:22 +01:00
Komil484 6e9c992381
fix: SessionDelete now uses native vim cmds (#156) 2024-09-03 18:43:34 +01:00
Mike Iversen c9c11ee71f
fix: #146 better handling for empty tables
PR (#152)
2024-08-30 15:14:00 +01:00
olimorris 53ee4a4df8 Merge branch 'main' of https://github.com/olimorris/persistence.nvim 2024-08-22 18:43:03 +01:00
olimorris 37fcf49496 docs: update README.md 2024-08-22 18:42:54 +01:00
Oli b975b6762b
chore(main): release 1.1.0 (#150) 2024-08-22 18:39:03 +01:00
olimorris 999b6918b4 feat: add `SessionSelect` command
For those who don't want to use Telescope to load and select sessions,
this offers an alternative
2024-08-22 18:37:42 +01:00
olimorris 3b07ef9657 chore(ci): add release workflow 2024-08-22 11:01:32 +01:00
olimorris 5593b1b8f1 docs: update README.md 2024-08-19 21:00:51 +01:00
Christopher Speck 03990e44c3
fix: do not pass sanitized directories into utils.dirs_match (#148) 2024-08-17 09:52:25 +01:00
olimorris b0de69da63 docs: update README.md 2024-08-15 17:30:11 +01:00
olimorris e2ae8b321e refactor(utils): directory formatting 2024-08-09 13:31:14 +01:00
olimorris 1d348a3df6 tests: add additional directory tests 2024-08-09 13:30:23 +01:00
olimorris 12de2ac0cf refactor(utils): update `in_table` function 2024-08-09 08:59:48 +01:00
olimorris 98cd3de512 fix: #146 allowed_dirs and ignored_dirs 2024-08-09 08:56:18 +01:00
olimorris 970f68938a chore: update bug report 2024-08-09 07:20:42 +01:00
olimorris 7e170b4927 docs: update README.md 2024-08-08 23:14:18 +01:00
Oli 22e17b07fb
refactor!: #145 restore simplicity to the plugin
Announcement in #145
2024-08-08 18:25:16 +01:00
olimorris 0446fd0217 refactor: better git branch checking 2024-08-06 22:05:43 +01:00
olimorris 4df3f8a036 chore: add logging 2024-07-02 19:32:36 +01:00
olimorris 7c30116fc1 docs: update README.md 2024-07-02 19:32:25 +01:00
olimorris a9138468f9 chore: handle null parameters on `ignore_branch` 2024-07-02 19:32:12 +01:00
Anurag 0a9eebf5cc
fix: missing autocmd data when no branch (#137) 2024-06-15 21:50:38 +01:00
Jurek Olden e50e0b65b0
fix: properly start a session from Telescope (#134)
Properly starts sessions loaded from another directory using Telescope.
Crucially, this version compares the working directory of the session, not
the working directory at the time of the session load, to the lists
of allowed and ignored directories.

Co-authored-by: Oli <olimorris@users.noreply.github.com>
2024-06-03 07:29:47 -07:00
Zheng PiaoDan 2b4f192aca
fix: follow_cwd option (#132)
* fix: TestFollowCwd

* fix: follow_cwd not actually working

cause: `follow_cwd and nil or session` always use `session` because the
`true and nil` expression is evaluated to false
2024-05-31 09:47:52 +01:00
olimorris b77d244a77 chore(ci): test for Neovim v0.10.0 2024-05-17 10:56:10 +01:00
Rémi Labeyrie 1e9fd63e25
fix: remove unused last_modified property (#126) 2024-05-07 19:31:21 +01:00
Oli 9c5fc98a4c
fix: #120 session loading for branches with slashes 2024-05-03 10:09:50 +01:00
PostCyberPunk 96bf597778
fix: use stat to last modified date (#121) 2024-04-26 09:23:21 +01:00
Rémi Labeyrie 8fc97b6182
feat: add icons and colors to telescope picker (#119)
* feat: add icons and colors to telescope picker

* feat: add configuration options for telescope icons

* fix: remove highlight group for telescope normal selection
2024-04-22 21:36:41 +01:00
Matthias Bilger ca9900c31e
fix: error message outside of git repo (#116)
in case ignored branches have been set and the current dir is not a
git directory no more error messages will be thrown
2024-04-04 13:42:31 +01:00
olimorris c157b89b5c docs: update README.md 2024-03-13 19:03:29 +00:00
olimorris 3cce654221 chore: update CI 2024-03-13 19:03:22 +00:00
olimorris c76c789d90 docs: update README.md 2024-03-12 21:46:21 +00:00
olimorris a192a0a11a chore(formatting): updates 2024-03-12 21:46:14 +00:00
Matthias Bilger ce9d621683
feat: Add ability to ignore branches (#114) 2024-03-12 21:44:36 +00:00
jyuan0 18fda8136f
feat: configurable telescope mappings (#113) 2024-03-06 14:16:41 +00:00