akinsho / akinsho/bufferline.nvim

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

Offen
#1,011 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Lua
Sterne
4.4k
Forks
240
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.