mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
docs: add highlight group examples with blend and inherit options
This commit is contained in:
parent
3fe41d3959
commit
7718965bdd
1 changed files with 6 additions and 2 deletions
|
|
@ -27,8 +27,8 @@ Install `rose-pine/neovim` using your favourite package manager:
|
|||
|
||||
```lua
|
||||
-- lua/plugins/rose-pine.lua
|
||||
return {
|
||||
"rose-pine/neovim",
|
||||
return {
|
||||
"rose-pine/neovim",
|
||||
name = "rose-pine",
|
||||
config = function()
|
||||
vim.cmd("colorscheme rose-pine")
|
||||
|
|
@ -123,9 +123,13 @@ require("rose-pine").setup({
|
|||
-- },
|
||||
},
|
||||
|
||||
-- NOTE: Highlight groups are extended (merged) by default. Disable this
|
||||
-- per group via `inherit = false`
|
||||
highlight_groups = {
|
||||
-- Comment = { fg = "foam" },
|
||||
-- StatusLine = { fg = "love", bg = "love", blend = 15 },
|
||||
-- VertSplit = { fg = "muted", bg = "muted" },
|
||||
-- Visual = { fg = "base", bg = "text", inherit = false },
|
||||
},
|
||||
|
||||
before_highlight = function(group, highlight, palette)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue