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:
parent
a16364a61b
commit
f5592b5e85
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ local startsession = function(file, args)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
vim.api.nvim_create_user_command("JupyterStart", function()
|
vim.api.nvim_create_user_command("JupyterStart", function()
|
||||||
startsession()
|
startsession(vim.b["sessionfile"] or default_buffer_session())
|
||||||
end, {})
|
end, {})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({"InsertEnter", "BufEnter"}, {
|
vim.api.nvim_create_autocmd({"InsertEnter", "BufEnter"}, {
|
||||||
|
|
Loading…
Reference in a new issue