hide offsets in bufferline

This commit is contained in:
siduck76 2021-06-02 00:19:58 +05:30
parent 0a677276cc
commit 7c0f3e31f0

View File

@ -5,7 +5,7 @@ local activeBuffer_fg = "#c8ccd4"
require "bufferline".setup {
options = {
offsets = {{filetype = "NvimTree", text = "Explorer"}},
offsets = {{filetype = "NvimTree", text = ""}},
buffer_close_icon = "",
modified_icon = "",
close_icon = "",
@ -21,6 +21,7 @@ require "bufferline".setup {
separator_style = "thin",
mappings = "true"
},
-- bar colors!!
highlights = {
fill = {
@ -31,6 +32,7 @@ require "bufferline".setup {
guifg = bar_fg,
guibg = "#252931"
},
-- buffer
buffer_selected = {
guifg = activeBuffer_fg,
@ -41,19 +43,21 @@ require "bufferline".setup {
guifg = "#9298a0",
guibg = "#252931"
},
-- tabs over right
tab = {
guifg = "#9298a0",
guibg = "#30343c"
},
tab_selected = {
tab_selected = {
guifg = "#30343c",
guibg = "#9298a0"
},
tab_close = {
guifg = "#f9929b",
tab_close = {
guifg = "#d47d85",
guibg = "#252931"
},
-- buffer separators
separator = {
guifg = "#252931",
@ -67,10 +71,12 @@ require "bufferline".setup {
guifg = "#252931",
guibg = "#252931"
},
indicator_selected = {
guifg = "#252931",
guibg = "#252931"
},
-- modified files (but not saved)
modified_selected = {
guifg = "#A3BE8C",