From c4ddcfc0b22768ced195d69e23ceca5d7d27d249 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Wed, 18 Aug 2021 23:05:14 -0500 Subject: [PATCH] fix: uninstantiate globals --- lua/catppuccino/core/mapper.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/catppuccino/core/mapper.lua b/lua/catppuccino/core/mapper.lua index 7ea0d1f..d7be2c8 100644 --- a/lua/catppuccino/core/mapper.lua +++ b/lua/catppuccino/core/mapper.lua @@ -393,6 +393,10 @@ function M.apply() LightspeedGreyWash = {fg = cpt.comment} } + -- uninstantiated to avoid poluting global scope and because they are not needed anymore + _G.cpc = nil + _G.cpt = nil + return theme end