revert adding globals

This commit is contained in:
siduck 2022-11-20 21:48:40 +05:30
parent 7a0d624640
commit e0c485b5b6

View file

@ -2,9 +2,6 @@ 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