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
This commit is contained in:
siduck 2023-03-23 16:09:43 +05:30
parent effec96b53
commit 84bdc2335c

View file

@ -4,7 +4,7 @@ local config = require("core.utils").load_config()
-------------------------------------- globals ----------------------------------------- -------------------------------------- globals -----------------------------------------
g.nvchad_theme = config.ui.theme 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.toggle_theme_icon = ""
g.transparency = config.ui.transparency g.transparency = config.ui.transparency