Saving tab local variables into a session #772
-
Hello, I made a tabline that may use user specidied names for a tab. These names are saved as tab local variables. When I now save the session (using min.sessions) and reopen neovim to load the session these names/variables are gone. So my question is: How do I save these tab local variables in a session? Is it a neo/vim issue or one in my config? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi! The 'mini.sessions' module uses built-in sessions. What is saved there is controlled by 'sessionoptions' option, which only has a flag for saving global variables. So Neovim's session would be a reason for not saving tab-local variables. |
Beta Was this translation helpful? Give feedback.
Hi!
The 'mini.sessions' module uses built-in sessions. What is saved there is controlled by 'sessionoptions' option, which only has a flag for saving global variables. So Neovim's session would be a reason for not saving tab-local variables.