Different color theme in flat window
divan opened this issue ยท 3 comments
Hey, thank you for the fantastic plugin.
Somehow color theme in the float windows are different from my main theme (it is with black bg). I have quite a number of plugins that might influence the color (like shade
that shades inactive windows, but I disabled it for trying this one).
Any ideas why this might be the case or any hints where to look?
Thanks!
@divan thanks for the kind words!
Since these are floating windows they probably just have a different highlight group.
If you'd like to force that change you can set a normal highlight group for the floating windows with the post_open_hook
.
Ex (untested):
post_open_hook = function(_, win)
vim.api.nvim_win_set_option(win, "winhighlight", "Normal:")
end
That's seem to work.
I still don't understand why it happened in a first place. Is it something wrong with my config or with the color theme or with plugin config?
Thank you for help, closing for now.
Your theme probably just has a different background colour for floating windows.