-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] auto-restore-last-session not working #377
Comments
Thanks for the report! A trivial test case works for me so there must be more going on. Can you do the following:
|
Yes, here are the logs! Thank you for a quick response :) For this example, my previous session i want to restore is my neovim config with cwd
And after doing that, here is the debug output from auto-session as reported by :messages:
|
Ah, it's a typo in the recent config name migration I did: auto-session/lua/auto-session/init.lua Line 475 in aa01054
It wasn't caught by the unit tests because they use the old config names and when I did the "trivial" test, I typed it using auto-complete so it completed the config name with the typo. I'll get a PR submitted shortly. In the meantime, you can set the old config name and it should work:
|
Perfect! Thank you, that fixes it. still better than vscode |
@jack-obrien the new config name |
Describe the bug
When I open nvim with the auto-session plugin enabled and the config option
auto-restore-last-session
, the last session is not restored.To Reproduce
Steps to reproduce the behavior:
auto-restore-last-session
.Expected behavior
The last session is restored.
Screenshots
Checkhealth
Baseline (please complete the following information):
set sessionoptions?
:sessionoptions=blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions
uname -a
:Linux pcname 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
nvim --version
:Additional context
Thanks for any help! I love your work.
The text was updated successfully, but these errors were encountered: