fix color mismatch for bufferline

This commit is contained in:
2024-12-06 17:35:29 +05:00
parent 05dad183d8
commit 45c2a522c0
2 changed files with 17 additions and 4 deletions

View File

@ -1,6 +1,7 @@
require("user.plugins")
require("user.themes.kanagawa")
vim.cmd("colorscheme kanagawa")
require("user.bufferline")
require("user.options")
@ -27,4 +28,3 @@ require("user.which_key")
require("user.harpoon")
vim.cmd("set cursorline")
vim.cmd("colorscheme kanagawa")

View File

@ -10,15 +10,28 @@ bufferline.setup({
offsets = {
{ filetype = "NvimTree", text = "", padding = 1 },
{ filetype = "neo-tree", text = "", padding = 1 },
{ filetype = "Outline", text = "", padding = 1 },
},
style_preset = bufferline.style_preset.no_italic,
style_preset = bufferline.style_preset.minimal,
buffer_close_icon = "",
modified_icon = "",
close_icon = "",
max_name_length = 14,
max_prefix_length = 13,
tab_size = 20,
separator_style = "thin",
separator_style = { "", "" },
hover = {
enabled = true,
delay = 200,
reveal = { 'close' }
}
-- indicator = {
-- style = "underline"
-- },
-- highlights = {
-- tab_separator_selected = {
-- underline = "0xc8c093",
-- },
-- }
},
})