fix bufferline problems

This commit is contained in:
Michael Peters 2022-09-15 22:38:02 -07:00
parent 8f025d5532
commit 9608cc41d3

View File

@ -24,7 +24,10 @@ function M.config()
close_command = "Bdelete! %d", -- use vim-bbye close_command = "Bdelete! %d", -- use vim-bbye
right_mouse_command = "Bdelete! %d", -- use vim-bbye right_mouse_command = "Bdelete! %d", -- use vim-bbye
offsets = { { filetype = "NvimTree", text = "", padding = 1 } }, offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
indicator_icon = '', indicator = {
icon = '',
style = 'icon'
},
modified_icon = "", modified_icon = "",
--buffer_close_icon = "", --buffer_close_icon = "",
show_buffer_close_icons = false, show_buffer_close_icons = false,
@ -45,93 +48,93 @@ function M.config()
highlights = { highlights = {
background = { background = {
guifg = scolors.tab_fg, fg = scolors.tab_fg,
guibg = scolors.tab_bg, bg = scolors.tab_bg,
}, },
-- Buffers -- Buffers
buffer_selected = { buffer_selected = {
guifg = scolors.selected_fg, fg = scolors.selected_fg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
--gui = colors.none, --gui = colors.none,
}, },
buffer_visible = { buffer_visible = {
guifg = scolors.selected_fg, fg = scolors.selected_fg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
-- Diagnostics -- Diagnostics
error = { error = {
guifg = scolors.red, fg = scolors.red,
guibg = scolors.red, bg = scolors.red,
}, },
error_diagnostic = { error_diagnostic = {
guifg = scolors.red, fg = scolors.red,
guibg = scolors.red, bg = scolors.red,
}, },
-- Close buttons -- Close buttons
close_button = { close_button = {
guifg = scolors.tab_fg, fg = scolors.tab_fg,
guibg = scolors.tab_bg, bg = scolors.tab_bg,
}, },
close_button_visible = { close_button_visible = {
guifg = scolors.selected_fg, fg = scolors.selected_fg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
close_button_selected = { close_button_selected = {
guifg = scolors.red, fg = scolors.red,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
fill = { fill = {
guifg = scolors.empty_fg, fg = scolors.empty_fg,
guibg = scolors.empty_bg, bg = scolors.empty_bg,
}, },
indicator_selected = { indicator_selected = {
guifg = scolors.green, fg = scolors.green,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
-- Modified -- Modified
modified = { modified = {
guifg = scolors.red, fg = scolors.red,
guibg = scolors.tab_bg, bg = scolors.tab_bg,
}, },
modified_visible = { modified_visible = {
guifg = scolors.tab_fg, fg = scolors.tab_fg,
guibg = scolors.tab_bg, bg = scolors.tab_bg,
}, },
modified_selected = { modified_selected = {
guifg = scolors.green, fg = scolors.green,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
-- Separators -- Separators
separator = { separator = {
guifg = scolors.empty_bg, fg = scolors.empty_bg,
guibg = scolors.tab_bg, bg = scolors.tab_bg,
}, },
separator_visible = { separator_visible = {
guifg = scolors.empty_bg, fg = scolors.empty_bg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
separator_selected = { separator_selected = {
guifg = scolors.empty_bg, fg = scolors.empty_bg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
-- Tabs -- Tabs
tab = { tab = {
guifg = scolors.tab_fg, fg = scolors.tab_fg,
guibg = scolors.tab_bg, bg = scolors.tab_bg,
}, },
tab_selected = { tab_selected = {
guifg = scolors.selected_fg, fg = scolors.selected_fg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
tab_close = { tab_close = {
guifg = scolors.selected_fg, fg = scolors.selected_fg,
guibg = scolors.selected_bg, bg = scolors.selected_bg,
}, },
} }
} }