Commit Graph

24 Commits (d821524f94b576474234d17e68c3751b36ae188b)

Author SHA1 Message Date
olimorris 3dcad75325 tests: update testing and makefile 2023-03-09 09:40:20 +00:00
olimorris 383b5ba6b5 feat: delete a session in a schedule.wrap func 2023-02-23 20:44:26 +00:00
Oli 774e4d70e9
fix: #46 autoload sessions 2023-02-22 15:02:33 +00:00
Oli dfbd039fe1
feat: load session by path (#48) (#47)
* feat: load session by path

* chore: change order of commands

* tests: fix

* docs: tweak readme wording
2023-02-21 21:09:01 +00:00
olimorris 26d82d6876 refactor: use neovim autocmd api 2022-10-26 13:41:13 +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 3bf38d98b7 test: fix test for command line output 2022-10-07 12:46:25 +01:00
olimorris 2379b3dfe8 test: fix branch test 2022-08-22 21:33:16 +01:00
olimorris 2bbbc3b16d chore: rename tests 2022-06-25 14:45:13 +01:00
olimorris 2699f4b0fe chore: update tests 2022-06-25 13:06:31 +01:00
olimorris bf27016643 fix: #12 shift autoloading to the nvim event loop
A big shoutout to @simonmclean for this pull request. Previously we autoloaded a session file as soon as Neovim opened. The problem with this is that key plugins like LSP and Treesitter may not have been initialised. This would lead to syntax highlighting issues or LSPs not attaching to buffers in the session. Pushing this to Neovim's event loop via vim.schedule allows us to sensibly load the session after these key plugins. Fixing the tests was a little cumbersome as we needed to use plenary's async library but once figured out, we have some lovely robust async tests
2022-06-07 12:55:20 -07:00
olimorris b6201178ff feat: improve README.md 2022-04-19 22:20:39 +01:00
olimorris 4863f67101 fix: double running of tests 2022-04-07 00:26:14 +01:00
olimorris f2478ae42d chore: add git branch tests 2022-04-07 00:23:28 +01:00
olimorris 7f88f8a64c chore: add ignored_dirs test 2022-04-06 23:29:06 +01:00
olimorris f886f9a2ec chore: improve test coverage 2022-04-06 23:23:02 +01:00
olimorris 45d944c8ec chore: update tests 2022-04-04 23:22:23 +01:00
olimorris 38cf66b8f8 chore: clean up README.md and test spec 2022-03-12 08:46:54 +00:00
olimorris 254663b3ce test: add additional tests 2022-03-08 20:23:16 +00:00
olimorris ed5706f827 test: rename default settings spec 2022-03-08 20:11:28 +00:00
olimorris 5bcc228eb8 test: move files to stubs folder 2022-03-08 07:55:18 +00:00
olimorris aa45be80ad test: add initial tests and ci 2022-03-08 07:53:00 +00:00