From e2dbec749674719ef1ee0058d09fc5144f8e72cd Mon Sep 17 00:00:00 2001 From: siduck76 Date: Thu, 6 May 2021 19:49:02 +0530 Subject: [PATCH] made bufferline tabs look better --- init.lua | 1 - install.sh | 3 ++- lua/top-bufferline.lua | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/init.lua b/init.lua index 28b6fcc..651860b 100644 --- a/init.lua +++ b/init.lua @@ -21,7 +21,6 @@ g.auto_save = 0 -- colorscheme related stuff -cmd "syntax enable" cmd "syntax on" local base16 = require "base16" diff --git a/install.sh b/install.sh index 374cc14..6450824 100755 --- a/install.sh +++ b/install.sh @@ -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() { diff --git a/lua/top-bufferline.lua b/lua/top-bufferline.lua index 707a8a2..31865d2 100644 --- a/lua/top-bufferline.lua +++ b/lua/top-bufferline.lua @@ -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" } } }