Skip to content

Commit

Permalink
docs: add inherit option (#175)
Browse files Browse the repository at this point in the history
* Remove the option, which is not longer implemented
* Add an example for the inherit highlight config
  • Loading branch information
HectorOvid authored Jul 22, 2023
1 parent 4ac6683 commit e103407
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ 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 = {
Expand All @@ -105,6 +101,11 @@ require('rose-pine').setup({
-- Blend colours against the "base" background
CursorLine = { bg = 'foam', blend = 10 },
StatusLine = { fg = 'love', bg = 'love', blend = 10 },

-- By default each group adds to the existing config.
-- If you only want to set what is written in this config exactly,
-- you can set the inherit option:
Search = { bg = 'gold', inherit = false },
}
})

Expand Down

0 comments on commit e103407

Please sign in to comment.