akinsho / akinsho/bufferline.nvim

[Bug]: Highlight "buffer" doesn't work

未關閉
#872 4 則留言 6 個 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?

"buffer" field color cannot change even though I set the hightlight color.
"buffer_selected" and "numbers" field work, but name of buffer which are opened and not selected doesn't change color

I cannot attach the image, I don't know what is the reason

### What did you expect to happen?

Change color of buffer which are opened and not selected.

### Config

```
return {
'akinsho/bufferline.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons', opt = true
},
config = function()
require('bufferline').setup({
options = {
show_buffer_icons = false, -- disable file icons
show_buffer_close_icons = false, -- disable close icons
show_close_icon = false,
numbers = function(opts)
return string.format('%s)',opts.id) -- but it works
end,
},
highlights = {
buffer = {
fg = '#FFFFFF',
bg = '#011627'
},
buffer_selected = {
fg = '#FF00FF',
bf = '#011627'
},
numbers_selected = {
fg = '#FF00FF',
bf = '#011627'
},
numbers = {
fg = '#FF00FF',
bf = '#011627'
},
}
})
end
}

```

### Additional Information

nvim-qt v0.2.18
Windows 10

### commit

_No response_

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。