-
Notifications
You must be signed in to change notification settings - Fork 83
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
Errors on session restore #453
Comments
Probably a regression in #450. I'll take a look |
Thank you for the prompt response! Looking at the age of #450, I was encountering errors before it was merged on session restore. |
That helps rule that out, thank you! |
By any chance, are you using our session integration? |
No, wasn't aware about a session integration until grepping the code-base after reading your comment. Just checked the docs for session related things prior to this. |
Oops, we should probably document that. See #347. Let me know if the issue persists after integrating Hopefully soon you won't have to write a wrapper |
Thanks alot! It looks as if #450 might play into error No.1. So it might not be a waste to look at it after all. The second error was the one I was definitely running into before as I commented it on an session-manager issue during last week. But for this one, using the session integration looks good so far. I would just let it consolidate for a working day 😊 |
I wasn't able to reproduce the first error, but I'm glad to hear that the second error is gone. If you can get it to work consistently with an |
Just wanted to add that I run into the same issue with issue 1 with neovim-session-manager, but haven't encountered issue 2 yet. |
Using |
I tried it with |
just update the plugin today and i have the same issue. btw i'm using auto-session |
Minimal reproduction: vim.opt.rtp:append
{
'~/.local/share/barbar.nvim',
'~/.local/share/nvim/lazy/nvim-web-devicons',
'~/.local/share/nvim/lazy/neovim-session-manager',
'~/.local/share/nvim/lazy/plenary.nvim',
}
vim.g.barbar_auto_setup = false
require'barbar'.setup {}
require('session_manager').setup {sessions_dir = '/tmp/sessions'} Then Edit: bisected to 202e51e |
Should be fixed now. Let me know if the issue persists |
Description
Restoring a session often results in an error.
Those are the two observed errors:
I hoped but I could fix it on session-manager's side but had no success trying a bunch of local modifications.
To Reproduce
Unfortunately I don't have a 100% reproduction. The error isn't always happening but I'm encountering it multiple times a day when restoring sessions and using barbar as a tabline plugin. Maybe the error traceback gives enough insight for a solution, else I'll leave an update as soon as I can connect the dots what exactly is causing it.
Screenshots
After the error I'm ending up with a "buffer-tab" like this that cannot be closed and won't adapt on bufferchange.
Informations
Neovim version: 0.9
The text was updated successfully, but these errors were encountered: