made bufferline tabs look better
This commit is contained in:
parent
c7e2f6357c
commit
e2dbec7496
1
init.lua
1
init.lua
@ -21,7 +21,6 @@ g.auto_save = 0
|
||||
|
||||
-- colorscheme related stuff
|
||||
|
||||
cmd "syntax enable"
|
||||
cmd "syntax on"
|
||||
|
||||
local base16 = require "base16"
|
||||
|
@ -16,7 +16,8 @@ for lang in $default_lsp_langs; do
|
||||
choose_langs $lang
|
||||
done
|
||||
|
||||
npm config set prefix=~/.node_modules # for global npm pkg installation
|
||||
# install npm pkg global
|
||||
npm config set prefix=~/.node_modules
|
||||
|
||||
pfx="~~~~~ "
|
||||
heading() {
|
||||
|
@ -12,7 +12,7 @@ require "bufferline".setup {
|
||||
right_trunc_marker = "",
|
||||
max_name_length = 14,
|
||||
max_prefix_length = 13,
|
||||
tab_size = 18,
|
||||
tab_size = 20,
|
||||
enforce_regular_tabs = true,
|
||||
view = "multiwindow",
|
||||
show_buffer_close_icons = true,
|
||||
@ -21,21 +21,21 @@ require "bufferline".setup {
|
||||
highlights = {
|
||||
background = {
|
||||
guifg = bar_fg,
|
||||
guibg = "#1e222a"
|
||||
guibg = "#282c34"
|
||||
},
|
||||
fill = {
|
||||
guifg = bar_fg,
|
||||
guibg = "#1e222a"
|
||||
guibg = "#282c34"
|
||||
},
|
||||
-- focused window
|
||||
buffer_selected = {
|
||||
guifg = activeBuffer_fg,
|
||||
guibg = "#353b45",
|
||||
guibg = "#1e222a",
|
||||
gui = "bold"
|
||||
},
|
||||
separator_selected = {
|
||||
guifg = "#353b45",
|
||||
guibg = "#353b45"
|
||||
guifg = "#1e222a",
|
||||
guibg = "#1e222a"
|
||||
},
|
||||
-- unfocused opened window
|
||||
buffer_visible = {
|
||||
@ -47,16 +47,16 @@ require "bufferline".setup {
|
||||
guibg = "#282c34"
|
||||
},
|
||||
separator = {
|
||||
guifg = "#1e222a",
|
||||
guibg = "#1e222a"
|
||||
guifg = "#282c34",
|
||||
guibg = "#282c34"
|
||||
},
|
||||
indicator_selected = {
|
||||
guifg = "#1e222a",
|
||||
guibg = "#1e222a"
|
||||
guifg = "#282c34",
|
||||
guibg = "#282c34"
|
||||
},
|
||||
modified_selected = {
|
||||
guifg = "#d0f5c2",
|
||||
guibg = "#353b45"
|
||||
guifg = "#A3BE8C",
|
||||
guibg = "#1e222a"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user