mirror of
https://github.com/gabehf/base46.git
synced 2026-03-09 15:38:15 -07:00
fix custom themes not working (#68)
This commit is contained in:
parent
0c1a2205fd
commit
ad78b9ffbf
1 changed files with 5 additions and 1 deletions
|
|
@ -23,7 +23,11 @@ require "term_hl"
|
|||
local theme = pcall(require, "hl_themes." .. ui.theme)
|
||||
|
||||
if theme then
|
||||
highlights = merge_tb(highlights, require(theme).polish_hl)
|
||||
local polish_hl = require("hl_themes." .. ui.theme).polish_hl
|
||||
|
||||
if polish_hl then
|
||||
highlights = merge_tb(highlights, polish_hl)
|
||||
end
|
||||
end
|
||||
|
||||
-- override user highlights if there are any
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue