From 67fbb6895132d752b6fd1b56fd81ac595a111750 Mon Sep 17 00:00:00 2001 From: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:04:23 -0500 Subject: [PATCH] fix: add default to ZenBg to allow customization --- lua/zen-mode/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/zen-mode/config.lua b/lua/zen-mode/config.lua index 65f4218..8c78b44 100644 --- a/lua/zen-mode/config.lua +++ b/lua/zen-mode/config.lua @@ -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