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
Notice that in :changes: the current > is set as the first item, not after-the-last item as it should be.
Expected Behavior
I am in the process of moving from vim-workspace to resession. My expected behavior is that session saves changes and jumps. I couldn't find documentation about it. Is it expected?
Thanks for making resession, it's great!
Directory structure
repro.lua
test.txt
Repro
-- save as repro.lua-- run with nvim -u repro.lua-- DO NOT change the pathslocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "runtime", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
{
"stevearc/resession.nvim",
config=function()
require("resession").setup({
-- add any needed settings here
})
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
Did you check the bug with a clean config?
I have confirmed that the bug reproduces with nvim -u repro.lua using the repro.lua file above.
The text was updated successfully, but these errors were encountered:
Did you check the docs and existing issues?
Neovim version (nvim -v)
0.10.0 and nightly
Operating system/version
Almalinux with NIX
Describe the bug
:jumps
are not restored. The current item>
in:changes
is always set to the first item.What is the severity of this bug?
breaking (some functionality is broken)
Steps To Reproduce
{
}
a little.:jumps
and:changes:
.:lua require'resession'.save(vim.fn.getcwd(), {dir="dirsession"})
:lua require'resession'.load(vim.fn.getcwd(), {dir="dirsession"})
:jumps
are missing.:changes:
the current>
is set as the first item, not after-the-last item as it should be.Expected Behavior
I am in the process of moving from
vim-workspace
toresession
. My expected behavior is that session saves changes and jumps. I couldn't find documentation about it. Is it expected?Thanks for making resession, it's great!
Directory structure
repro.lua
test.txt
Repro
Did you check the bug with a clean config?
nvim -u repro.lua
using the repro.lua file above.The text was updated successfully, but these errors were encountered: