made bufferline tabs look better

pull/40/head
siduck76 3 years ago
parent c7e2f6357c
commit e2dbec7496

@ -21,7 +21,6 @@ g.auto_save = 0
-- colorscheme related stuff -- colorscheme related stuff
cmd "syntax enable"
cmd "syntax on" cmd "syntax on"
local base16 = require "base16" local base16 = require "base16"

@ -16,7 +16,8 @@ for lang in $default_lsp_langs; do
choose_langs $lang choose_langs $lang
done done
npm config set prefix=~/.node_modules # for global npm pkg installation # install npm pkg global
npm config set prefix=~/.node_modules
pfx="~~~~~ " pfx="~~~~~ "
heading() { heading() {

@ -12,7 +12,7 @@ require "bufferline".setup {
right_trunc_marker = "", right_trunc_marker = "",
max_name_length = 14, max_name_length = 14,
max_prefix_length = 13, max_prefix_length = 13,
tab_size = 18, tab_size = 20,
enforce_regular_tabs = true, enforce_regular_tabs = true,
view = "multiwindow", view = "multiwindow",
show_buffer_close_icons = true, show_buffer_close_icons = true,
@ -21,21 +21,21 @@ require "bufferline".setup {
highlights = { highlights = {
background = { background = {
guifg = bar_fg, guifg = bar_fg,
guibg = "#1e222a" guibg = "#282c34"
}, },
fill = { fill = {
guifg = bar_fg, guifg = bar_fg,
guibg = "#1e222a" guibg = "#282c34"
}, },
-- focused window -- focused window
buffer_selected = { buffer_selected = {
guifg = activeBuffer_fg, guifg = activeBuffer_fg,
guibg = "#353b45", guibg = "#1e222a",
gui = "bold" gui = "bold"
}, },
separator_selected = { separator_selected = {
guifg = "#353b45", guifg = "#1e222a",
guibg = "#353b45" guibg = "#1e222a"
}, },
-- unfocused opened window -- unfocused opened window
buffer_visible = { buffer_visible = {
@ -47,16 +47,16 @@ require "bufferline".setup {
guibg = "#282c34" guibg = "#282c34"
}, },
separator = { separator = {
guifg = "#1e222a", guifg = "#282c34",
guibg = "#1e222a" guibg = "#282c34"
}, },
indicator_selected = { indicator_selected = {
guifg = "#1e222a", guifg = "#282c34",
guibg = "#1e222a" guibg = "#282c34"
}, },
modified_selected = { modified_selected = {
guifg = "#d0f5c2", guifg = "#A3BE8C",
guibg = "#353b45" guibg = "#1e222a"
} }
} }
} }

Loading…
Cancel
Save