From 0f54f5d961e76ee8caa91b68a5ce958efa65c8d2 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Sun, 31 Oct 2021 18:29:56 -0500 Subject: [PATCH] fix: attempted to index bg color --- lua/catppuccino/core/mapper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/catppuccino/core/mapper.lua b/lua/catppuccino/core/mapper.lua index 70a979b..d5bbb70 100644 --- a/lua/catppuccino/core/mapper.lua +++ b/lua/catppuccino/core/mapper.lua @@ -10,7 +10,7 @@ local function get_properties() background = "dark", } - if colors_util.assert_brightness(color_palette.bg) then + if colors_util.assert_brightness(color_palette.catppuccino2) then props["background"] = "light" end