bufferline.nvim
bufferline.nvim copied to clipboard
[Bug]: Underline Highlight Color
Is there an existing issue for this?
- [X] I have searched the existing issues
What happened?
Does anyone know why does my underline highlight color look like this?
What did you expect to happen?
Highlight correctly
Config
Additional Information
...
commit
No response
You can remove the separator_style and manually adjust the underline color using highlight.close_button_selected.
Here is an example configuration that resolves the issue:
{
"akinsho/bufferline.nvim",
event = "VeryLazy",
opts = {
options = {
indicator = {
style = "underline",
},
separator_style = { "", "" }, -- important
always_show_bufferline = true,
},
highlights = {
indicator_selected = {
fg = vim.g.primary,
sp = vim.g.primary,
underline = true,
},
buffer_selected = {
fg = vim.g.primary,
bg = "NONE",
bold = true,
underline = true,
sp = vim.g.primary,
},
close_button_selected = {
fg = vim.g.primary,
bg = "NONE",
underline = true,
sp = vim.g.primary,
},
},
},
}