akinsho / akinsho/bufferline.nvim

[Feature]: Make `BufferLineMovePrev/Next` work with tabs

Đang mở
#664 9 bình luận 1 reaction 0 người được giao Xem trên GitHub
feature request help wanted tabs
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 when using `BufferLineMove[Prev/Next]` command in a tab, other tabs are also affected

### What did you expect to happen?

Only the buffers in the current tab change position

### Config

```lua
{
close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
separator_style = "thin", -- "slant" | "thick" | "thin" | { 'any', 'any' },
show_tab_indicators = true,
hover = {
enabled = false,
delay = 200,
reveal = { "close" },
},
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level, diagnostics_dict, context)
local icons = {
hint = " ",
info = " ",
warning = " ",
error = " ",
}
local icon = icons[level]
return " " .. icon .. count
end,
sort_by = "insert_at_end",
}
```

### Additional Information

...

### commit

c7492a7

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.