Closed nullchilly closed 1 year ago
This is a good idea, but I hesitate to implement this since currently the text color depends on not only hl-WinBar
but also hl-WinBarNC
, which make it possible to highlight texts in winbars of non-current windows in a different colors.
If I set the highlights groups explicitly and link it to hl-WinBar
by default, we will no longer respect hl-WinBarNC
.
Any thoughts?
I guess we can make DropBarNormal
an empty highlight group by default
:lua vim.o.winbar = "%#DropBarNormal# dropbar.lua"
WinBarNC still works. Now if you define the highlight group:
:hi DropBarNormal guifg=#cba6f7
Looks good will look into it later.
@Bekaboo Special thanks :)
I implemented it in https://github.com/catppuccin/nvim/pull/499
color_mode = false
color_mode = true
👍🏼 Good job! I'm always impressed by how configurable and aesthetic catppuccin
is.
Problem
Currently the winbar fg rely on the
WinBar
highlight groupThis makes it hard to add dropbar.nvim integration to colorscheme. If I change the
WinBar
highlight to make dropbar prettier, vanilla user will not be happy.Expected behavior
Add
DropBarNormal = { link = "WinBar", default = true }
so colorscheme can add dropbar integration easier:Add
color_mode
to show color for kind's text and not just its color, viaDropBarKindFunction
highlight group instead of just for icon (DropBarIconKindFunction
)