akinsho / akinsho/bufferline.nvim

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

オープン
#1,011 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
Lua
スター
4.4k
フォーク
240
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。