akinsho / bufferline.nvim

A snazzy bufferline for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Jaehaks opened this issue · comments

Is there an existing issue for this?

  • 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