fix bufferline problems
This commit is contained in:
parent
8f025d5532
commit
9608cc41d3
@ -24,7 +24,10 @@ function M.config()
|
||||
close_command = "Bdelete! %d", -- use vim-bbye
|
||||
right_mouse_command = "Bdelete! %d", -- use vim-bbye
|
||||
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
|
||||
indicator_icon = '▎',
|
||||
indicator = {
|
||||
icon = '▎',
|
||||
style = 'icon'
|
||||
},
|
||||
modified_icon = "",
|
||||
--buffer_close_icon = "",
|
||||
show_buffer_close_icons = false,
|
||||
@ -45,93 +48,93 @@ function M.config()
|
||||
|
||||
highlights = {
|
||||
background = {
|
||||
guifg = scolors.tab_fg,
|
||||
guibg = scolors.tab_bg,
|
||||
fg = scolors.tab_fg,
|
||||
bg = scolors.tab_bg,
|
||||
},
|
||||
|
||||
-- Buffers
|
||||
buffer_selected = {
|
||||
guifg = scolors.selected_fg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.selected_fg,
|
||||
bg = scolors.selected_bg,
|
||||
--gui = colors.none,
|
||||
},
|
||||
buffer_visible = {
|
||||
guifg = scolors.selected_fg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.selected_fg,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
|
||||
-- Diagnostics
|
||||
error = {
|
||||
guifg = scolors.red,
|
||||
guibg = scolors.red,
|
||||
fg = scolors.red,
|
||||
bg = scolors.red,
|
||||
},
|
||||
error_diagnostic = {
|
||||
guifg = scolors.red,
|
||||
guibg = scolors.red,
|
||||
fg = scolors.red,
|
||||
bg = scolors.red,
|
||||
},
|
||||
|
||||
-- Close buttons
|
||||
close_button = {
|
||||
guifg = scolors.tab_fg,
|
||||
guibg = scolors.tab_bg,
|
||||
fg = scolors.tab_fg,
|
||||
bg = scolors.tab_bg,
|
||||
},
|
||||
close_button_visible = {
|
||||
guifg = scolors.selected_fg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.selected_fg,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
close_button_selected = {
|
||||
guifg = scolors.red,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.red,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
fill = {
|
||||
guifg = scolors.empty_fg,
|
||||
guibg = scolors.empty_bg,
|
||||
fg = scolors.empty_fg,
|
||||
bg = scolors.empty_bg,
|
||||
},
|
||||
indicator_selected = {
|
||||
guifg = scolors.green,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.green,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
|
||||
-- Modified
|
||||
modified = {
|
||||
guifg = scolors.red,
|
||||
guibg = scolors.tab_bg,
|
||||
fg = scolors.red,
|
||||
bg = scolors.tab_bg,
|
||||
},
|
||||
modified_visible = {
|
||||
guifg = scolors.tab_fg,
|
||||
guibg = scolors.tab_bg,
|
||||
fg = scolors.tab_fg,
|
||||
bg = scolors.tab_bg,
|
||||
},
|
||||
modified_selected = {
|
||||
guifg = scolors.green,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.green,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
|
||||
-- Separators
|
||||
separator = {
|
||||
guifg = scolors.empty_bg,
|
||||
guibg = scolors.tab_bg,
|
||||
fg = scolors.empty_bg,
|
||||
bg = scolors.tab_bg,
|
||||
},
|
||||
separator_visible = {
|
||||
guifg = scolors.empty_bg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.empty_bg,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
separator_selected = {
|
||||
guifg = scolors.empty_bg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.empty_bg,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
|
||||
-- Tabs
|
||||
tab = {
|
||||
guifg = scolors.tab_fg,
|
||||
guibg = scolors.tab_bg,
|
||||
fg = scolors.tab_fg,
|
||||
bg = scolors.tab_bg,
|
||||
},
|
||||
tab_selected = {
|
||||
guifg = scolors.selected_fg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.selected_fg,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
tab_close = {
|
||||
guifg = scolors.selected_fg,
|
||||
guibg = scolors.selected_bg,
|
||||
fg = scolors.selected_fg,
|
||||
bg = scolors.selected_bg,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user