From e10340767534b4988992de838d6c811db63b74db Mon Sep 17 00:00:00 2001 From: Tobias Sommer Date: Sat, 22 Jul 2023 16:31:03 +0200 Subject: [PATCH] docs: add `inherit` option (#175) * Remove the option, which is not longer implemented * Add an example for the inherit highlight config --- readme.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 621c14f6..443de415 100644 --- a/readme.md +++ b/readme.md @@ -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 = { @@ -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 }, } })