Commit Graph

34 Commits (18fda8136f91d1df64e8fc8d49417c958d6af206)

Author SHA1 Message Date
jyuan0 18fda8136f
feat: configurable telescope mappings (#113) 2024-03-06 14:16:41 +00:00
olimorris 66d540f949 refactor!: do not append `main` to non-git repo sessions
https://github.com/olimorris/persisted.nvim/discussions/103
2023-12-20 12:47:51 +00:00
olimorris 86ce6f14ae refactor!: telescope reset_prompt api 2023-12-18 23:21:04 +00:00
olimorris 0a6be5db0e refactor: remove deprecations 2023-03-09 09:41:22 +00:00
olimorris 029ba65f39 fix: config.setup deprecation checks 2023-02-23 10:41:21 +00:00
olimorris fc3df75cd5 refactor!: #51 replace callbacks with user events 2023-02-22 20:24:27 +00:00
Oli 774e4d70e9
fix: #46 autoload sessions 2023-02-22 15:02:33 +00:00
olimorris 898ddcdd46 chore: remove annotations 2023-02-21 16:03:52 +00:00
olimorris 452c36a3f9 chore: clean up config file 2023-02-21 16:01:15 +00:00
ADoyle 53a39a0447
feat: add config option "telescope.reset_prompt_after_deletion"
User can decide whether to reset the prompt or not, after deleting a session
2022-11-03 14:14:36 +00:00
olimorris e39170f571 refactor!: change default branch separator 2022-11-02 17:38:41 +00:00
olimorris df231232c7 fix: #38 reinstate on_autoload_no_session 2022-10-26 17:14:40 +01:00
olimorris 226db9219f fix: clear diagnostics 2022-10-26 13:49:43 +01:00
Connor Robertson 38b36fc5fd
feat: allow session name to be fixed on load
* Add follow_cwd option to allow fixing session name on load

* Update readme to reflect new follow_cwd command and explain use

* Add tests for follow_cwd

* Update README.md

* Adjust wording in README for follow_cwd to clarify use case

Co-authored-by: Oli M <olimorris@users.noreply.github.com>
2022-10-14 10:08:12 +01:00
olimorris df435cee43 feat: #31 should_autosave callback 2022-10-07 12:46:58 +01:00
Latif Sulistyo b54b72dbde
feat: add `silent` config option 2022-09-13 08:28:36 +01:00
HumblePresent e994852d86
feat: add configurable git branch separator string (#25) 2022-08-22 21:36:22 +01:00
olimorris b70eb5317d feat: add before_source callback 2022-08-13 10:53:59 +01:00
olimorris 0ad729ee38 fix: #15 callbacks being incorrectly detected 2022-06-30 19:53:28 +01:00
olimorris 0c392ddb9f feat(telescope): #7 start adding delete feature 2022-05-12 20:18:08 +01:00
olimorris b778a4ebc4 feat: #11 after_source callback 2022-05-05 11:41:57 +01:00
olimorris baa9c73818 chore: update README.md 2022-04-22 14:14:16 +01:00
olimorris 2345ac0682 refactor: change config option dir to save_dir 2022-04-22 12:45:30 +01:00
olimorris 5ad5f88e4b feat: custom autocmd for saving a session 2022-04-22 12:37:27 +01:00
olimorris a156dd33c3 feat: #7 initial Telescope support 2022-04-19 22:21:06 +01:00
olimorris 6cefecd2bb fix: #4 use vim.o.sessionoptions 2022-04-04 22:59:36 +01:00
olimorris 0669d29f22 feat: allow/ignore dirs for save/load
This addresses #1 and allows the user to specify directories which the plugin will automatically save or load from. Alternatively, specify directories for which this behaviour will be ignored
2022-03-07 18:58:37 +00:00
olimorris b2e4162c74 feat: auto-load sessions addresses #3 2022-03-07 17:22:39 +00:00
olimorris ac24493128 feat: add before and after callbacks 2022-03-05 15:22:13 +00:00
olimorris 336909e742 chore: formatting with stylua 2022-03-03 21:15:37 +00:00
olimorris cbb601eaec chore: format code 2022-01-21 11:09:49 +00:00
olimorris e513dcd16c feat: add option to disable autosave
As per: https://github.com/folke/persistence.nvim/pull/4

Think is a useful feature to have as users may wish to manually trigger the saving of sessions
2022-01-20 15:24:31 +00:00
olimorris d9b386c618 feat!: use stdpath data instead of config
As per discussion on https://github.com/folke/persistence.nvim/pull/3.

Using stdpath('data') instead of stdpath('config') is more appropriate.
2022-01-20 15:24:31 +00:00
olimorris 9fd0958a19 chore: rename to persisted 2022-01-20 14:23:51 +00:00