revert adding globals

v2.5
siduck 3 years ago
parent 7a0d624640
commit e0c485b5b6

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

Loading…
Cancel
Save