From 7889449676442f830b58343ca9c4cb6143cb9cf8 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Wed, 15 Sep 2021 13:34:16 +0700 Subject: [PATCH] neovim: move bufferline highlight to its setup{} --- README.md | 2 +- home/.config/nvim/lua/colors/nord.lua | 4 ---- home/.config/nvim/lua/modules/ui.lua | 4 ++++ 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b68e01b..099ed21 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ ### :star2: Credits -- [@glepnir](https://github.com/glepnir/nvim)'s Neovim config, and also [NvChad](https://github.com/siduck76/NvChad) +- [@glepnir](https://github.com/glepnir/nvim)'s Neovim config, and also [NvChad](https://github.com/NvChad/NvChad) - [@novakane](https://git.sr.ht/~novakane/) for git aliases - [@hlissner](https://github.com/hlissner)'s zsh config - [@daviwil](https://github.com/daviwil)'s/[@tecosaur](https://tecosaur.github.io/emacs-config/config.html)'s Emacs configurations diff --git a/home/.config/nvim/lua/colors/nord.lua b/home/.config/nvim/lua/colors/nord.lua index 058625d..28cc337 100644 --- a/home/.config/nvim/lua/colors/nord.lua +++ b/home/.config/nvim/lua/colors/nord.lua @@ -308,10 +308,6 @@ local function highlight_plugins() hi('EftChar' , c.orange, '', 'bold,underline', '') hi('EftSubChar', c.grey3, '', 'bold,underline', '') - -- BufferLine - hi('BufferLineIndicatorSelected', c.cyan, '', '', '') - hi('BufferLineFill', c.grey1, c.grey1, '', '') - -- Dashboard hi('DashboardHeader' , c.cyan , '', 'bold' , '') hi('DashboardCenter' , c.blue , '', 'bold' , '') diff --git a/home/.config/nvim/lua/modules/ui.lua b/home/.config/nvim/lua/modules/ui.lua index 8379c17..5dc7798 100644 --- a/home/.config/nvim/lua/modules/ui.lua +++ b/home/.config/nvim/lua/modules/ui.lua @@ -287,6 +287,10 @@ function M.bufferline_conf() {filetype = 'packer', text = 'Packer', text_align = 'left'} }, separator_style = 'thin' + }, + highlights = { + fill = {guibg = {attribute = 'bg', highlight = 'TabLineFill'}}, + indicator_selected = {guifg = {attribute = 'fg', highlight = 'TabLineSel'}} } } end