From 039de822874ab073a0095c087638fe2d4e4d79d4 Mon Sep 17 00:00:00 2001 From: mvllow Date: Fri, 26 Jan 2024 21:42:48 -0600 Subject: [PATCH] fix: invalid key when using inherit --- lua/rose-pine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 9240a51..c546297 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -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