rm usage of globals

This commit is contained in:
siduck 2022-05-29 16:04:27 +05:30
parent 168e5b08e7
commit 33f454a18b
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
local ui = nvchad.load_config().ui
local ui = require("core.utils").load_config().ui
local merge_tb = require("base46").merge_tb
@ -46,7 +46,7 @@ if ui.hl_override then
highlights = merge_tb(highlights, user_highlights)
end
-- local set_transparent = nvchad.load_config().ui.transparency
-- local set_transparent = require("core.utils").load_config().ui.transparency
if ui.transparency then
highlights = merge_tb(highlights, require "nv_glassy")
end