From c1e6adf3485729de1c51e1cfe745a805a69c1357 Mon Sep 17 00:00:00 2001 From: siduck Date: Mon, 9 Oct 2023 17:49:42 +0530 Subject: [PATCH] skip compiling of custom statusline theme --- lua/base46/integrations/statusline.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/base46/integrations/statusline.lua b/lua/base46/integrations/statusline.lua index 9c829b9..48aa415 100644 --- a/lua/base46/integrations/statusline.lua +++ b/lua/base46/integrations/statusline.lua @@ -8,6 +8,10 @@ local merge_tb = vim.tbl_deep_extend local config = require("core.utils").load_config().ui local statusline_theme = config.statusline.theme +if statusline_theme == "custom" then + return {} +end + -- default values from the colors palette local statusline_bg = colors.statusline_bg local light_grey = generate_color(colors.light_grey, 8)