mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
add private built-in blend override
This commit is contained in:
parent
a028f790eb
commit
3e9556d665
1 changed files with 5 additions and 0 deletions
|
|
@ -1137,8 +1137,13 @@ local function set_highlights()
|
||||||
highlight.bg = utilities.blend(highlight.bg, highlight.blend_on or palette.base, highlight.blend / 100)
|
highlight.bg = utilities.blend(highlight.bg, highlight.blend_on or palette.base, highlight.blend / 100)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
highlight.blend = nil
|
||||||
highlight.blend_on = nil
|
highlight.blend_on = nil
|
||||||
|
|
||||||
|
if highlight._nvim_blend ~= nil then
|
||||||
|
highlight.blend = highlight._nvim_blend
|
||||||
|
end
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, group, highlight)
|
vim.api.nvim_set_hl(0, group, highlight)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue