fix: invalid key when using inherit

This commit is contained in:
mvllow 2024-01-26 21:42:48 -06:00
commit 039de82287
No known key found for this signature in database

View file

@ -780,10 +780,10 @@ local function set_highlights()
end
if (highlight.inherit == nil or highlight.inherit) and existing ~= nil then
highlight.inherit = nil
parsed.inherit = nil
highlights[group] = vim.tbl_extend("force", existing, parsed)
else
highlight.inherit = nil
parsed.inherit = nil
highlights[group] = parsed
end
end