define ui related globals

v2.5
siduck 3 years ago
parent 7c4783a055
commit f0216f665d

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

Loading…
Cancel
Save