akinsho / akinsho/bufferline.nvim

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

Ouverte
#1,011 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Lua
Étoiles
4.4k
Forks
240
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.