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
Error executing lua callback: ...cal/share/nvim/lazy/snacks.nvim/lua/snacks/dashboard.lua:712: Invalid window id: 1000
stack traceback:
[C]: in function 'nvim_win_get_cursor'
...cal/share/nvim/lazy/snacks.nvim/lua/snacks/dashboard.lua:712: in function <...cal/share/nvim/lazy/snacks.nvim/lua/snacks/dashboard.lua:711>
Steps To Reproduce
When split the window and go back to the window opened first and close it you get an error where ever place the cursor on existing/left window.
This not appears when you split window and close last one opened - then everything is ok.
Expected Behavior
after closing split window - no matter in which order was opened stop showing the error message and place the active window at the central position - if there is only one active.
Repro
vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec= {
{ "folke/snacks.nvim", opts= {} },
-- add any other plugins here
},
})
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.3 Build type: RelWithDebInfo LuaJIT 2.1.1713484068
Operating system/version
Debian 12
Describe the bug
Error executing lua callback: ...cal/share/nvim/lazy/snacks.nvim/lua/snacks/dashboard.lua:712: Invalid window id: 1000
stack traceback:
[C]: in function 'nvim_win_get_cursor'
...cal/share/nvim/lazy/snacks.nvim/lua/snacks/dashboard.lua:712: in function <...cal/share/nvim/lazy/snacks.nvim/lua/snacks/dashboard.lua:711>
Steps To Reproduce
When split the window and go back to the window opened first and close it you get an error where ever place the cursor on existing/left window.
This not appears when you split window and close last one opened - then everything is ok.
Expected Behavior
after closing split window - no matter in which order was opened stop showing the error message and place the active window at the central position - if there is only one active.
Repro
The text was updated successfully, but these errors were encountered: