mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
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:
parent
c552fcadac
commit
805a183dde
2 changed files with 577 additions and 561 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue