feat!: custom user highlight groups are merged with Rosé Pine defaults (#171)

Configuring `highlight_groups` now merge by default. For example, to add italics without changing the colour:

```diff
- Keyword = { fg = "pine", italic = true }
+ Keyword = { italic = true }
```

Opt out of this behaviour via `inherit = false`.
This commit is contained in:
Niamh Ferns 2023-07-16 03:04:58 +12:00 committed by GitHub
commit 76cae45b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 577 additions and 561 deletions

File diff suppressed because it is too large Load diff

View file

@ -93,6 +93,10 @@ require('rose-pine').setup({
-- 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
-- https://github.com/rose-pine/neovim/wiki/Recipes
highlight_groups = {