mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: regression in options (#221)
* fix: headings not migrating to flat options * fix: invalid key when using inherit
This commit is contained in:
parent
bf00df18af
commit
14b371fb78
2 changed files with 10 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue