Closed 231tr0n closed 2 months ago
Gotta figure out how options.transparent = true
should combine with options.darken.floats = true
. It should probably just override it (as is currently done for sidebars in this case) and just use transparency instead (plus, it's not like we can trivially figure out, implicitly, what the terminal bg is in order to make the float bg darker than it). Ideally, the floats
config would be changed to an enum of string
(e.g. 'transparent' | 'darken'
) instead of a boolean, but then it'd probably have to be moved out of options.darken
. Either that or a notice in the docs that options.transparent
overrules options.darken.*
when both are enabled.
Also have to make sure that neovim handles this properly/intelligently and doesn't act similar to vim.wo.winblend = 100
when a float has its bg
unset (EDIT: can confirm that it doesn't do this). Because then text from vim windows underneath the float would leak through and be visible.
When transparency is turned on, mini.files, mini.clue and mini.pick still have background including trouble.nvim.