fix: let hl_override be compatible with custom themes

load `hl_override` after the theme
This commit is contained in:
tuberry
2022-03-26 21:38:45 +08:00
committed by siduck
parent ec5017126c
commit 47e4f0361f
2 changed files with 8 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
local cmd = vim.cmd
local override = require("core.utils").load_config().ui.hl_override
local colors = require("colors").get()
local ui = require("core.utils").load_config().ui
@@ -167,7 +166,3 @@ if ui.transparency then
fg("TelescopeBorder", one_bg)
fg_bg("TelescopeResultsTitle", black, blue)
end
if #override ~= 0 then
require(override)
end