akinsho / akinsho/bufferline.nvim

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

Đang mở
#1,011 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Lua
Star
4.4k
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.