akinsho / akinsho/bufferline.nvim

[Bug]: Using ':che vim.lsp' opens both a new buffer, and a new tab.

Abierto
#1,011 0 comentarios 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
Lua
Estrellas
4.4k
Forks
240
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

The issue is that:

A new buffer should be created where you're able to navigate to and from it as normal from the selection of buffers in the top bar.

But, when using the ':che vim.lsp' command it creates a new tab also? This tab then contains duplicate copies of all the buffers opened before up top, including the buffer listing the information about all lsps.

### What did you expect to happen?

Expected behaviour:

When using the ':che vim.lsp' command, a seperate buffer should be opened up top where you can close as normal by pressing 'q'. No extra tab should be created with all the buffers you already had open in the now previous tab.

### Config

return {
"akinsho/bufferline.nvim",
event = "VeryLazy",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
keys = {
{ "bp", "BufferLineTogglePin", desc = "Toggle Pin" },
{ "bP", "BufferLineGroupClose ungrouped", desc = "Delete Non-Pinned Buffers" },
{ "br", "BufferLineCloseRight", desc = "Delete Buffers to the Right" },
{ "bl", "BufferLineCloseLeft", desc = "Delete Buffers to the Left" },
{ "", "BufferLineCyclePrev", desc = "Prev Buffer" },
{ "", "BufferLineCycleNext", desc = "Next Buffer" },
},
opts = {}, -- Calling bufferline.setup({}) for initialization.
}

### Additional Information

![Image](https://github.com/user-attachments/assets/8fd1ee33-1c4b-43ad-bacb-eee3ab7167ff)

### commit

Unsure.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.