From 52591f5704cc99b00c8bc09d38ae7d96461d1d59 Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 29 Oct 2023 07:01:08 +0530 Subject: [PATCH] add minor check for polish_hl in themes --- lua/base46/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/base46/init.lua b/lua/base46/init.lua index f46f0a2..d1a6613 100644 --- a/lua/base46/init.lua +++ b/lua/base46/init.lua @@ -47,7 +47,7 @@ M.extend_default_hl = function(highlights, integration_name) local polish_hl = M.get_theme_tb "polish_hl" -- 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]) end