Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
Jaehaks opened this issue Feb 29, 2024 · 1 comment
Open
1 task done

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

Jaehaks opened this issue Feb 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Jaehaks
Copy link

Jaehaks commented Feb 29, 2024

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

@Jaehaks Jaehaks added the bug Something isn't working label Feb 29, 2024
@xizonghu
Copy link

I have this problem too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants