-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lsasagas code action preview crashes tabuflilne with invalid buffer id. #285
Comments
looks like a bug from lspsaga's end |
vim.api.nvim_create_autocmd("BufAdd", {
callback = function(args)
if vim.bo[args.buf].buflisted then
print(args.buf)
end
end,
}) So when i go through the actions window and when cursor is on 3rd , then the below window shows up and then the above autocmd gets triggered, i dont see any buflisted buffer and yet it gets triggered! @glepnir any idea? |
action preview buffer is not listed. |
yes i know, but try the autocmd, it still prints buf number cuz the buffer is listed, so weird |
can close . i had push a commit for fix. forget set it. |
its happening again, weird |
Good day @glepnir! It seems the issue still hasn't been resolved. Could you please take another look at it? |
....local/share/nvim/lazy/ui/lua/nvchad/tabufline/utils.lua:37: Invalid buffer id: 118
stack traceback:
^I[C]: in function 'buf_name'
^I....local/share/nvim/lazy/ui/lua/nvchad/tabufline/utils.lua:37: in function 'gen_unique_name'
^I....local/share/nvim/lazy/ui/lua/nvchad/tabufline/utils.lua:51: in function 'style_buf'
^I...ocal/share/nvim/lazy/ui/lua/nvchad/tabufline/modules.lua:74: in function <...ocal/share/nvim/lazy/ui/lua/nvchad/tabufline/modules.lua:60>
^I...ocal/share/nvim/lazy/ui/lua/nvchad/tabufline/modules.lua:117: in function <...ocal/share/nvim/lazy/ui/lua/nvchad/tabufline/modules.lua:107>
^I[C]: in function 'nvim_exec2'
^Ivim/_editor.lua: in function 'cmd'
^I.../share/nvim/lazy/nvim-notify/lua/notify/service/init.lua:63: in function 'push'
^I...ocal/share/nvim/lazy/nvim-notify/lua/notify/instance.lua:77: in function <...ocal/share/nvim/lazy/nvim-notify/lua/notify/instance.lua:41>
^I...e/nvim/lazy/noice.nvim/lua/noice/view/backend/notify.lua:169: in function '_notify'
^I...e/nvim/lazy/noice.nvim/lua/noice/view/backend/notify.lua:199: in function 'show'
^I...local/share/nvim/lazy/noice.nvim/lua/noice/view/init.lua:155: in function <...local/share/nvim/lazy/noice.nvim/lua/noice/view/init.lua:153>
^I[C]: in function 'xpcall'
^I...local/share/nvim/lazy/noice.nvim/lua/noice/util/call.lua:149: in function <...local/share/nvim/lazy/noice.nvim/lua/noice/util/call.lua:134>
^I...local/share/nvim/lazy/noice.nvim/lua/noice/view/init.lua:162: in function 'display'
^I.../share/nvim/lazy/noice.nvim/lua/noice/message/router.lua:223: in function <.../share/nvim/lazy/noice.nvim/lua/noice/message/router.lua:156>
^I[C]: in function 'xpcall'
^I...local/share/nvim/lazy/noice.nvim/lua/noice/util/call.lua:149: in function <...local/share/nvim/lazy/noice.nvim/lua/noice/util/call.lua:134>
^I[C]: in function 'pcall'
^I...local/share/nvim/lazy/noice.nvim/lua/noice/util/init.lua:146: in function ''
^Ivim/_editor.lua: in function ''
^Ivim/_editor.lua: in function <vim/_editor.lua:0>
The text was updated successfully, but these errors were encountered: