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
Using Astronvim, when ever I close a buff, I got this error.
Error executing vim.schedule lua callback: ...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:203: Invalid 'buffer': Expected Lua number
stack traceback:
[C]: in function 'nvim_buf_delete'
...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:203: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Steps to reproduce
Using Astronvim with community lspsaga receipt, when I have the outline opened, and try to close a java buffer, I got the error.
Expected behavior
If the closed buffer is not the last buffer, the lspsaga outline should keep showing the outline for the current buff. If its the last buff, then I guess we should close the outline as well?
If I close the outline first, and then delete a buffer, I got this:
14:36:35 msg_show.echomsg (mini.bufremove) vim/_editor.lua:0: nvim_exec2(): Vim(bdelete):Error executing lua callback: ...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:201: Invalid 'window': Expected Lua number
stack traceback:
[C]: in function 'nvim_win_is_valid'
...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:201: in function <...re/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/outline.lua:198>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'pcall'
...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:234: in function 'func'
...local/share/nvim/lazy/astrocore/lua/astrocore/buffer.lua:153: in function 'mini_confirm'
...local/share/nvim/lazy/astrocore/lua/astrocore/buffer.lua:162: in function 'close'
.../AstroNvim/lua/astronvim/plugins/_astrocore_mappings.lua:78: in function <.../AstroNvim/lua/astronvim/plugins/_astrocore_mappings.lua:78>
whisperpine
added a commit
to whisperpine/nix-config
that referenced
this issue
Nov 10, 2024
Describe the bug
Using Astronvim, when ever I close a buff, I got this error.
Steps to reproduce
Using Astronvim with community lspsaga receipt, when I have the outline opened, and try to close a java buffer, I got the error.
Expected behavior
If the closed buffer is not the last buffer, the lspsaga outline should keep showing the outline for the current buff. If its the last buff, then I guess we should close the outline as well?
Neovim version (nvim -v)
0.10.0
lspsaga commit
d027f8b
Terminal name/version
western
The text was updated successfully, but these errors were encountered: