diff --git a/plugin/bg.lua b/plugin/bg.lua index fb3ff3d..8eec4e4 100644 --- a/plugin/bg.lua +++ b/plugin/bg.lua @@ -22,7 +22,7 @@ local update = function() local normal = vim.api.nvim_get_hl(0, { name = "Normal", link = false, create = false }) local bg = normal.bg local fg = normal.fg - if bg == nil then + if bg == nil or fg == nil then return reset() end