Closed Firaenix closed 2 years ago
onedark seems to not define the NormalFloat
highlight (see :help NormalFloat
). Try either doing :highlight link NormalFloat Normal
or if you just want to configure it for the dressing windows, you can use winhighlight:
require('dressing').setup({
input = {
winhighlight = "NormalFloat:Normal",
}
})
When I set "NormalFloat:Normal", I also have the same issue. I use the theme rose-pine-dawn. I tried some
onedark seems to not define the
NormalFloat
highlight (see:help NormalFloat
). Try either doing:highlight link NormalFloat Normal
or if you just want to configure it for the dressing windows, you can use winhighlight:require('dressing').setup({ input = { winhighlight = "NormalFloat:Normal", } })
Thanks, i've been finding this for so long. Now it works as expected.
After reading help winhighlight
and floatwin-api
, I found that I want to change the highlight of the floating windows' title. But I don't know what highlight group to replace...
After reading help
winhighlight
andfloatwin-api
, I found that I want to change the highlight of the floating windows' title. But I don't know what highlight group to replace...
There are 3 things you can change
NormalFloat
FloatTitle
FloatBorder
There are 3 things you can change
NormalFloat FloatTitle FloatBorder
Ok, I see the 'rose pine' to set highlight as this:
FloatBorder guifg=#dfdad9
FloatTitle links to FloatBorder
NormalFloat guifg=#575279 guibg=#fffaf3
They don't set the FloatTitle(FloatBorder)'s background, and the FloatTitle uses the background from NormalFloat. So the text is hard to recognize.
There are 3 things you can change
NormalFloat FloatTitle FloatBorder
Ok, I see the 'rose pine' to set highlight as this:
FloatBorder guifg=#dfdad9 FloatTitle links to FloatBorder NormalFloat guifg=#575279 guibg=#fffaf3
They don't set the FloatTitle(FloatBorder)'s background, and the FloatTitle uses the background from NormalFloat. So the text is hard to recognize.
Ye. And i see that rose-pine
has option for you to set these highlight: https://github.com/rose-pine/neovim#options
Oh, that's right, I missed that, thank you!
Thank you very much for your help! I'm a neo/vim noob so I appreciate the swift response.
System information
To Reproduce Steps to reproduce the behavior:
Screenshots
I've tried out a few colorschemes with dressing.nvim but cant seem to find a suitably visible border and title theme. Is it possible to change the input theme in the dressing config?