chore: use conf.theme instead of conf.style.theme

This commit is contained in:
JuanZoran
2023-03-15 19:27:21 +08:00
parent 52238cb1e7
commit 21351b3a26
6 changed files with 92 additions and 91 deletions

View File

@@ -60,7 +60,7 @@ end
local function define_highlights(conf)
local set_hl = vim.api.nvim_set_hl
local highlights = Trans.style.theme[conf.style.theme]
local highlights = Trans.style.theme[conf.theme]
for hl, opt in pairs(highlights) do
set_hl(0, hl, opt)
end