From 84bdc2335cf46032f7b8fa9a8b2a6aa9901751e6 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 23 Mar 2023 16:09:43 +0530 Subject: [PATCH] save nvchad cache at nvim data dir many a time the user clears the cache dir and that results in deletion of base46 cache too which would prevent nvchad to function --- lua/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index 576c1cb..4bb53a4 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -4,7 +4,7 @@ local config = require("core.utils").load_config() -------------------------------------- globals ----------------------------------------- g.nvchad_theme = config.ui.theme -g.base46_cache = vim.fn.stdpath "cache" .. "/nvchad/base46/" +g.base46_cache = vim.fn.stdpath "data" .. "/nvchad/base46/" g.toggle_theme_icon = "  " g.transparency = config.ui.transparency