Skip to content

Commit 0507aa2

Browse files
committed
fix: fix breakage when changing colorscheme
1 parent d02c639 commit 0507aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/shade.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ local function create_hl_groups()
117117
overlay_color = "None"
118118
end
119119

120-
api.nvim_command("highlight ShadeOverlay guibg=" .. overlay_color)
120+
api.nvim_command("highlight ShadeOverlay gui='nocombine' guibg=" .. overlay_color)
121121

122122
-- Link to default hl_group if not user defined
123123
local exists, _ = pcall(function()
@@ -251,7 +251,7 @@ shade.init = function(opts)
251251

252252
api.nvim_set_decoration_provider(state.shade_nsid, {on_win = shade.event_listener})
253253

254-
-- setup autocommands
254+
-- setup autocommands -- TODO: set a precalculated winid
255255
api.nvim_exec([[
256256
augroup shade
257257
au!

0 commit comments

Comments
 (0)