akinsho / akinsho/bufferline.nvim

[Bug]: Buffer reordering affects all tabs when using scope.nvim

未关闭
#1,006 0 条评论 0 个 reaction 已指派 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?

I'm using `bufferline.nvim` with `scope.nvim` to keep buffers isolated per tab. However, when I reorder buffers in one tab, the buffer order changes globally, affecting other tabs as well. This causes inconsistency when switching between tabs, as the buffers in those tabs are different but still get reorder.

### What did you expect to happen?

Each tab should maintain its own buffer order separately. Reordering buffers in one tab should not affect the order of buffers in other tabs, especially since the buffers themselves are different per tab.

### Config

``` lua
{
"akinsho/bufferline.nvim",
-- version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
opts = {
options = {
show_buffer_close_icons = false,
show_close_icon = false,
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level)
local icon = level:match("error") and " " or " "
return " " .. icon .. count
end,
offsets = {
{
filetype = "NvimTree",
text = "File Explorer",
highlight = "Directory",
separator = true, -- use a "true" to enable the default, or set your own character
},
},
},
},
}
```
``` lua
{
"tiagovla/scope.nvim",
config = function()
require("scope").setup({})
end,
}
```

### Additional Information

...

### commit

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。