You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, thanks for this amazing plugin - it's been a game-changer for my workflow! 😊
I've run into a small issue that I thought I should report. When restoring sessions, the custom tab names behave differently depending on how the session is loaded:
When I load a session from the terminal (nvim -S <path-to-session-file>), everything works perfectly! The tab names are restored just as I left them.
However, when I load the same session from within Neovim using :lua vim.cmd.source("<path-to-session-file>"), the custom tab names don't come back.
This caught my attention because I'm using the nvim-possession session manager, which uses the second method to load sessions.
I've done some additional testing based on your suggestion:
I tried loading the plugins in different orders (both tabby.nvim before nvim-possession and vice versa), but the behavior remains the same.
To isolate the issue further, I tested without nvim-possession at all - just using :lua vim.cmd.source("<path-to-session-file>") directly in Neovim. The tab names still don't restore in this case.
Since the issue occurs even without nvim-possession, I don't think it's a plugin conflict. Given that tab names restore correctly when loading from the terminal but not when sourcing the session file within Neovim, perhaps there's a different hook or event that Tabby could use when Neovim is loading the session file internally?
(I'm fairly new to Neovim's internals, so I apologize if I'm missing something obvious here!)
Hi! First of all, thanks for this amazing plugin - it's been a game-changer for my workflow! 😊
I've run into a small issue that I thought I should report. When restoring sessions, the custom tab names behave differently depending on how the session is loaded:
nvim -S <path-to-session-file>
), everything works perfectly! The tab names are restored just as I left them.:lua vim.cmd.source("<path-to-session-file>")
, the custom tab names don't come back.This caught my attention because I'm using the nvim-possession session manager, which uses the second method to load sessions.
How to reproduce
My setup
My config
Let me know if you need any additional information! Happy to help track this down. 🙂
Thanks again for maintaining this plugin!
The text was updated successfully, but these errors were encountered: