-
Is it possible to have a transparent background with the highlite colorschemes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Absolutely! You can do that by setting the bg colors of your palette to You may also have to adjust the For example: local Highlite = require 'highlite' --- @type Highlite
local palette, terminal_palette = Highlite.palette 'highlite' -- or derive a palette
palette.bg = 'NONE'
-- you may also want to set `bg_contrast_high` and/or `bg_contrast_low` to 'NONE', depending on your preferred look
local groups = Highlite.groups('highlite', palette)
-- override groups here
Highlite.generate('highlite-custom', groups, terminal_palette) The complete example may also help put the above links in context. Make sure your terminal is configured to have a transparent background as well, or else this will simply make Neovim fall back to your terminal's configured color. |
Beta Was this translation helpful? Give feedback.
Absolutely! You can do that by setting the bg colors of your palette to
"NONE"
where applicable.You may also have to adjust the
winblend
setting of individual plugins using theirsetup
, and/or manually override the generated groups to include theblend
attribute (e.g.groups.Foo.blend = 25
(see:h highlight-blend
in neovim).For example: