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
pull/1849/head
siduck 1 year ago
parent effec96b53
commit 84bdc2335c

@ -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

Loading…
Cancel
Save