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
I have auto-session working as a session manager, and I use it through mini.starter.
I don't think this has to do with what session manager is in use tho.
I think if you're using mini.starter and you do the following with a session manager:
Open nvim
Open one or two other files
Create a source file in your repo called Starter
Save your session
When you go to restore this session in mini.starter I get this:
Error detected while processing CursorMoved Autocommands for "<buffer=1>":
Error executing lua callback: ...nvim/site/pack/deps/start/mini.nvim/lua/mini/starter.lua:1251: Cursor p
osition outside buffer
stack traceback:
[C]: in function 'nvim_win_set_cursor'
...nvim/site/pack/deps/start/mini.nvim/lua/mini/starter.lua:1251: in function 'position_cursor_o
n_current_item'
...nvim/site/pack/deps/start/mini.nvim/lua/mini/starter.lua:1319: in function <...nvim/site/pack
/deps/start/mini.nvim/lua/mini/starter.lua:1319>
I think mini.starter may get confused in this case. Would it make more sense to use a buffer name which starts with starter:/// to ensure the starter buffer does not overlap with any files?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm wondering if this is an issue.
I have auto-session working as a session manager, and I use it through mini.starter.
I don't think this has to do with what session manager is in use tho.
I think if you're using mini.starter and you do the following with a session manager:
When you go to restore this session in mini.starter I get this:
I think mini.starter may get confused in this case. Would it make more sense to use a buffer name which starts with
starter:///
to ensure the starter buffer does not overlap with any files?Beta Was this translation helpful? Give feedback.
All reactions