mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
highlight_groups now gives option to set new opts while respecting defaults.
You now need to opt out of respect_default_hightlight_groups if you'd like highlight_group settings to be fully overwritten (even for options you didn't touch).
This commit is contained in:
parent
932adb0d93
commit
36e1022f5d
3 changed files with 585 additions and 560 deletions
|
|
@ -56,6 +56,10 @@ M.options = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Whether highlight group settings will respect default highlight_groups and
|
||||||
|
-- only update options set in the high_light groups table.
|
||||||
|
respect_default_highlight_groups = true,
|
||||||
|
|
||||||
---@type table<string, Color>
|
---@type table<string, Color>
|
||||||
highlight_groups = {},
|
highlight_groups = {},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -93,6 +93,10 @@ require('rose-pine').setup({
|
||||||
-- headings = 'subtle'
|
-- headings = 'subtle'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Whether or not highlight_groups optios should change only only update
|
||||||
|
-- the settings they touch or should reset the entire highlight_group.
|
||||||
|
respect_default_highlight_groups = true,
|
||||||
|
|
||||||
-- Change specific vim highlight groups
|
-- Change specific vim highlight groups
|
||||||
-- https://github.com/rose-pine/neovim/wiki/Recipes
|
-- https://github.com/rose-pine/neovim/wiki/Recipes
|
||||||
highlight_groups = {
|
highlight_groups = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue