move bufferline highlights in different file

This commit is contained in:
siduck76
2021-06-05 22:10:23 +05:30
parent acb70a6581
commit 39b165a8e5
3 changed files with 119 additions and 72 deletions

View File

@@ -1,8 +1,3 @@
-- define some colors
local bar_fg = "#565c64"
local activeBuffer_fg = "#c8ccd4"
require "bufferline".setup {
options = {
offsets = {{filetype = "NvimTree", text = ""}},
@@ -20,72 +15,6 @@ require "bufferline".setup {
show_buffer_close_icons = true,
separator_style = "thin",
mappings = "true"
},
-- bar colors!!
highlights = {
fill = {
guifg = bar_fg,
guibg = "#252931"
},
background = {
guifg = bar_fg,
guibg = "#252931"
},
-- buffer
buffer_selected = {
guifg = activeBuffer_fg,
guibg = "#1e222a",
gui = "bold"
},
buffer_visible = {
guifg = "#9298a0",
guibg = "#252931"
},
-- tabs over right
tab = {
guifg = "#9298a0",
guibg = "#30343c"
},
tab_selected = {
guifg = "#30343c",
guibg = "#9298a0"
},
tab_close = {
guifg = "#d47d85",
guibg = "#252931"
},
-- buffer separators
separator = {
guifg = "#252931",
guibg = "#252931"
},
separator_selected = {
guifg = "#1e222a",
guibg = "#1e222a"
},
separator_visible = {
guifg = "#252931",
guibg = "#252931"
},
indicator_selected = {
guifg = "#252931",
guibg = "#252931"
},
-- modified files (but not saved)
modified_selected = {
guifg = "#A3BE8C",
guibg = "#1e222a"
},
modified_visible = {
guifg = "#BF616A",
guibg = "#23272f"
}
}
}