Commit Graph

136 Commits (325cda4fb406601929fbc2084816dc5e49d5e5aa)

Author SHA1 Message Date
olimorris 325cda4fb4 chore: update LICENSE 2023-01-08 21:35:40 +00:00
olimorris 558fc4b9f4 fix: badge in readme 2022-12-22 19:33:17 +00:00
olimorris 769c130831 chore: cleanup utils file 2022-11-16 13:43:29 +00:00
olimorris 0aedefbbb1 chore: update README.md 2022-11-16 13:43:24 +00:00
olimorris 8fa9328e12 chore: remove branch separator from readme 2022-11-03 14:16:22 +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
Cedric M'Passi 2e61c9fb92
fix: check for nil opts in setup 2022-10-27 08:18:14 +01:00
olimorris 5347c83ee4 refactor!: warn of future branch_separator change 2022-10-26 17:41:44 +01:00
olimorris cf3b9a45fe chore: formatting 2022-10-26 17:39:28 +01:00
olimorris 2105556a1a chore: rename autocmd group 2022-10-26 17:24:18 +01:00
olimorris df231232c7 fix: #38 reinstate on_autoload_no_session 2022-10-26 17:14:40 +01:00
olimorris 5c5c4ae949 fix: autocmd namings 2022-10-26 13:55:16 +01:00
olimorris 6e3167e89c chore: bump neovim version to 0.7 2022-10-26 13:52:34 +01:00
olimorris 226db9219f fix: clear diagnostics 2022-10-26 13:49:43 +01:00
olimorris 26d82d6876 refactor: use neovim autocmd api 2022-10-26 13:41:13 +01:00
olimorris 63a8031516 Merge branch 'main' of https://github.com/olimorris/persistence.nvim 2022-10-25 14:06:20 +01:00
olimorris a011a94c79 ci: remove 0.5 tests
Neovim 0.6 had been the minimum requirement for a while so removing 0.5 ci test
2022-10-25 14:06:06 +01:00
ADoyle 80c898a6c9
fix: #34 support width = { val, min, max } and show branch
- Use telescope builtin resolver to calculate width.
- The branch is missing. Fixed.
- If session file stores without git branch, `session.branch` should be nil. And do not show branch in list.
- `make test` will fail because plenary.nvim is old.

close #34
2022-10-25 13:44:54 +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 510eb02caa ci: try and fix 0.8.0 tests 2022-10-07 13:00:12 +01:00
olimorris df435cee43 feat: #31 should_autosave callback 2022-10-07 12:46:58 +01:00
olimorris 3bf38d98b7 test: fix test for command line output 2022-10-07 12:46:25 +01:00
olimorris a449cd5a73 test: test for neovim 0.8.0 2022-10-07 12:46:13 +01:00
Latif Sulistyo b54b72dbde
feat: add `silent` config option 2022-09-13 08:28:36 +01:00
Mat Jones 321ba42367
feat: #27 add `on_autoload_no_session` hook
* Add `on_autoload_no_session` hook

* Update README.md
2022-08-23 22:02:30 +01:00
HumblePresent e994852d86
feat: add configurable git branch separator string (#25) 2022-08-22 21:36:22 +01:00
olimorris 2379b3dfe8 test: fix branch test 2022-08-22 21:33:16 +01:00
olimorris dafb7a9e43 chore: misc updates 2022-08-16 08:25:11 +01:00
HumblePresent 7d2a0ac661
fix: #18 escape pattern matching characters in directory names 2022-08-16 08:22:44 +01:00
HumblePresent 17ee9ed4e0
fix: #21 accurately detect git-enabled parent directories 2022-08-15 07:58:37 +01:00
olimorris 06023617d7 chore: update README.md 2022-08-14 23:09:12 +01:00
olimorris cbdde13408 refactor: move contents of README.md 2022-08-13 11:05:35 +01:00
olimorris bf69d1855d chore: remove duplicate badges 2022-08-13 11:03:40 +01:00
olimorris 22caff821f chore: update README.md 2022-08-13 11:03:08 +01:00
HumblePresent 6ce6823643
fix: #18 Replace directory pattern match with exact match
* fix: #18 replace directory pattern match with exact match

* fix: #18 properly expand directory name
2022-08-13 10:58:03 +01:00
olimorris b70eb5317d feat: add before_source callback 2022-08-13 10:53:59 +01:00
olimorris 4fe0e3aeab test: add more neovim builds to ci 2022-08-13 10:40:49 +01:00
olimorris 9be6183f96 fix: after_source callback 2022-08-13 10:38:02 +01:00
olimorris 0f5f24f4c4 chore: update README.md 2022-07-14 22:07:27 +01:00
olimorris 7d3f977ae5 feat: #7 remove .vim extension in telescope 2022-07-13 09:27:46 +01:00
olimorris 2b7ab49f36 refactor: telescope extension 2022-07-13 09:27:14 +01:00
olimorris 459adba9dd feat: improve deleting sessions via telescope 2022-07-07 23:08:04 +01:00
olimorris 4f97606552 chore: update README.md 2022-07-05 17:39:40 +01:00
olimorris 6140a4703a chore: update README.md
Thanks to @avently for the neat Telescope callback
2022-07-04 09:14:18 +01:00
olimorris 0ad729ee38 fix: #15 callbacks being incorrectly detected 2022-06-30 19:53:28 +01:00
olimorris 8e1da8a3d6 refactor: #7 remove branch in telescope results
For users who not use git branching (majority) this is redundant. For users who have lots of '_' in their file path, this becomes messy. Cleaner to just remove it as the user can determine the branch from the filename anyway
2022-06-30 17:49:01 +01:00
olimorris 6c21af37d0 chore: formattig 2022-06-25 22:54:44 +01:00
olimorris a51112c539 refactor: telescope use vim event loop to load 2022-06-25 22:48:45 +01:00
olimorris 33b76850d6 chore: update gitignore 2022-06-25 22:48:15 +01:00