Replies: 1 comment
-
|
I think what you're looking for is to set float's highlight group to have a transparent background, and you can achieve that by adding some highlight groups to the option vim.highlight = {
NormalFloat = {
bg = "NONE";
blend = 30;
};
};
# there is also
Pmenu.link = "NormalFloat";
FloatBorder = {
fg = "#ffffff";
bg = "NONE";
};I think though I am not entirely sure, setting the null value for There are a few special names:
NONE no color (transparent)Anyways, for context, the fg, bg options do what you'd expect, but I also usually set blend (an integer value 1..100) which is basically how much or little to blend the background with the colors behind it. Which can be nice for floats. blend={integer} *highlight-blend* *opacity*
Override the blend level for a highlight group within the popupmenu
or floating windows. Only takes effect if 'pumblend' or 'winblend'
is set for the menu or window. See the help at the respective option.
See also the "blend" flag of |nvim_buf_set_extmark()|. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
currently in my home.nix i have (home.nix) :
`extraConfig = ''
opts =
styles = {
sidebars = "transparent",
floats = "transparent",
};
}
'';
`
which results in (init.lua):
`-- SECTION: theme
opts = {
styles = {
sidebars = "transparent",
floats = "transparent",
};
}
require('tokyonight').setup {
transparent = true;
}
vim.cmd[[colorscheme tokyonight-storm]]
`
Anyway to move the extra config inside require? or a better (more nixy) way to do this?
Beta Was this translation helpful? Give feedback.
All reactions