define ui related globals

This commit is contained in:
siduck 2022-11-20 21:34:26 +05:30
parent 7c4783a055
commit f0216f665d

View file

@ -2,6 +2,9 @@ local M = {}
local g = vim.g
local config = require("core.utils").load_config()
g.nvchad_theme = config.ui.theme
g.transparency = config.ui.transparency
M.get_theme_tb = function(type)
local default_path = "base46.themes." .. g.nvchad_theme
local user_path = "custom.themes." .. g.nvchad_theme