DNLHC/glance.nvim

Failed to rename buffer

ldelossa opened this issue · 1 comments

Error executing vim.schedule lua callback: ...louis/.config/nvim/after/glance.nvim/lua/glance/list.lua:219: Failed to rename buffer                                                                                                   
stack traceback:                                                                                                                                                                                                                      
        [C]: in function 'nvim_buf_set_name'                                                                                                                                                                                          
        ...louis/.config/nvim/after/glance.nvim/lua/glance/list.lua:219: in function 'setup'                                                                                                                                          
        ...louis/.config/nvim/after/glance.nvim/lua/glance/list.lua:41: in function 'create'                                                                                                                                          
        ...louis/.config/nvim/after/glance.nvim/lua/glance/init.lua:240: in function 'create'                                                                                                                                         
        ...louis/.config/nvim/after/glance.nvim/lua/glance/init.lua:83: in function 'create'                                                                                                                                          
        ...louis/.config/nvim/after/glance.nvim/lua/glance/init.lua:142: in function '_open'                                                                                                                                          
        ...louis/.config/nvim/after/glance.nvim/lua/glance/init.lua:156: in function 'handler'                                                                                                                                        
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1388: in function ''                                                                                                                                                                  
        vim/_editor.lua: in function <vim/_editor.lua:0>  

this occurred when opening references (first a failed attempt, where no references existed) and then a successful reference. On the third attempt, there seems to be a buffer with the same name existing.

DNLHC commented

Thanks!