akinsho / akinsho/bufferline.nvim

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

Ouverte
#872 4 commentaires 6 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Lua
Étoiles
4.4k
Forks
240
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.