Skip to content

Commit

Permalink
fix: add default to ZenBg to allow customization (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Jan 21, 2024
1 parent 50e2e2a commit c1dea35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/zen-mode/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ function M.colors(options)
if normal then
if normal.background then
local bg = util.darken(normal.background, options.window.backdrop)
vim.cmd(("highlight ZenBg guibg=%s guifg=%s"):format(bg, bg))
vim.cmd(("highlight default ZenBg guibg=%s guifg=%s"):format(bg, bg))
else
vim.cmd("highlight link ZenBg Normal")
vim.cmd("highlight default link ZenBg Normal")
end
end
end
Expand Down

0 comments on commit c1dea35

Please sign in to comment.