neovim: move bufferline highlight to its setup{}

This commit is contained in:
Hoang Nguyen 2021-09-15 13:34:16 +07:00
parent a747daeacd
commit 7889449676
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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' , '')

View File

@ -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