Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add highlights for barbar.nvim #22

Open
fnune opened this issue Apr 6, 2021 · 1 comment
Open

[Feature request] Add highlights for barbar.nvim #22

fnune opened this issue Apr 6, 2021 · 1 comment

Comments

@fnune
Copy link
Contributor

fnune commented Apr 6, 2021

base16-vim currently doesn't highlight the barbar.nvim bar. It could!

Describe the solution you'd like
Here are the groups that need to be defined. The color variables don't exist on base16-vim and need to be mapped to our values:

" barbar.vim highlighting
call <sid>hi("BufferCurrent", fg_current, bg_current, "", "")
call <sid>hi("BufferCurrentIndex", fg_special, bg_current, "", "")
call <sid>hi("BufferCurrentMod", fg_modified, bg_current, "", "")
call <sid>hi("BufferCurrentSign", fg_special, bg_current, "", "")
call <sid>hi("BufferCurrentTarget", fg_target, bg_current, "bold", "")
call <sid>hi("BufferVisible", fg_visible, bg_visible, "", "")
call <sid>hi("BufferVisibleIndex", fg_visible, bg_visible, "", "")
call <sid>hi("BufferVisibleMod", fg_modified, bg_visible, "", "")
call <sid>hi("BufferVisibleSign", fg_visible, bg_visible, "", "")
call <sid>hi("BufferVisibleTarget", fg_target, bg_visible, "bold", "")
call <sid>hi("BufferInactive", fg_inactive, bg_inactive, "", "")
call <sid>hi("BufferInactiveIndex", fg_subtle, bg_inactive, "", "")
call <sid>hi("BufferInactiveMod", fg_modified, bg_inactive, "", "")
call <sid>hi("BufferInactiveSign",   fg_subtle, bg_inactive, "", "")
call <sid>hi("BufferInactiveTarget", fg_target, bg_inactive, "bold", "")
call <sid>hi("BufferTabpages", fg_special, bg_inactive, "bold", "")
call <sid>hi("BufferTabpageFill", fg_inactive, bg_inactive, "", "")

Here's an example from doom-one.vim: https://github.com/romgrk/doom-one.vim/blame/29c3a2a3d5cb3ec001ee5aaa95de3033fbfd7a58/colors/doom-one.vim#L189

Describe alternatives you've considered
Use doom-one.vim.

@GordianDziwis
Copy link
Contributor

Airlines tabs begin to annoy me, maybe I will start with barbar soon and add some highlights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants