From 15ed57cdeb7048fe3e6466d3f7573e81fd1f3e9d Mon Sep 17 00:00:00 2001 From: siduck Date: Tue, 5 Mar 2024 21:33:32 +0530 Subject: [PATCH] add termguicolors on startup itself --- lua/base46/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/base46/init.lua b/lua/base46/init.lua index 7489635..f20b84b 100644 --- a/lua/base46/init.lua +++ b/lua/base46/init.lua @@ -104,7 +104,7 @@ M.saveStr_to_cache = function(filename, tb) -- Thanks to https://github.com/nullchilly and https://github.com/EdenEast/nightfox.nvim -- It helped me understand string.dump stuff - local bg_opt = "vim.opt.bg='" .. M.get_theme_tb "type" .. "'" + local bg_opt = "vim.o.termguicolors=true vim.o.bg='" .. M.get_theme_tb "type" .. "'" local defaults_cond = filename == "defaults" and bg_opt or "" local lines = "return string.dump(function()" .. defaults_cond .. M.table_to_str(tb) .. "end, true)"