Skip to content

Transparent background #28

Closed Answered by Iron-E
propri asked this question in Q&A
Jul 1, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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 their setup, and/or manually override the generated groups to include the blend attribute (e.g. groups.Foo.blend = 25 (see :h highlight-blend in neovim).

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

H…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@propri
Comment options

Answer selected by Iron-E
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants