vifm: JupyterStart always uses sessionfile

Make JupyterStart always use the buffer sessionfile (or create the
default one if none exists) instead of only on first run.
This commit is contained in:
Marty Oehme 2024-07-20 16:48:34 +02:00
parent a16364a61b
commit f5592b5e85
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -41,7 +41,7 @@ local startsession = function(file, args)
})
end
vim.api.nvim_create_user_command("JupyterStart", function()
startsession()
startsession(vim.b["sessionfile"] or default_buffer_session())
end, {})
vim.api.nvim_create_autocmd({"InsertEnter", "BufEnter"}, {