add minor check for polish_hl in themes

v2.5
siduck 2 years ago
parent 6852de99a7
commit 52591f5704

@ -47,7 +47,7 @@ M.extend_default_hl = function(highlights, integration_name)
local polish_hl = M.get_theme_tb "polish_hl" local polish_hl = M.get_theme_tb "polish_hl"
-- polish themes -- polish themes
if polish_hl[integration_name] then if polish_hl and polish_hl[integration_name] then
highlights = M.merge_tb(highlights, polish_hl[integration_name]) highlights = M.merge_tb(highlights, polish_hl[integration_name])
end end

Loading…
Cancel
Save