mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: invalid key when using inherit
This commit is contained in:
parent
7d0a989379
commit
039de82287
1 changed files with 2 additions and 2 deletions
|
|
@ -780,10 +780,10 @@ local function set_highlights()
|
||||||
end
|
end
|
||||||
|
|
||||||
if (highlight.inherit == nil or highlight.inherit) and existing ~= nil then
|
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)
|
highlights[group] = vim.tbl_extend("force", existing, parsed)
|
||||||
else
|
else
|
||||||
highlight.inherit = nil
|
parsed.inherit = nil
|
||||||
highlights[group] = parsed
|
highlights[group] = parsed
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue