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
8b216f7252
commit
44739383b9
1 changed files with 6 additions and 2 deletions
|
|
@ -27,8 +27,8 @@ Install `rose-pine/neovim` using your favourite package manager:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
-- lua/plugins/rose-pine.lua
|
-- lua/plugins/rose-pine.lua
|
||||||
return {
|
return {
|
||||||
"rose-pine/neovim",
|
"rose-pine/neovim",
|
||||||
name = "rose-pine",
|
name = "rose-pine",
|
||||||
config = function()
|
config = function()
|
||||||
vim.cmd("colorscheme rose-pine")
|
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 = {
|
highlight_groups = {
|
||||||
-- Comment = { fg = "foam" },
|
-- Comment = { fg = "foam" },
|
||||||
|
-- StatusLine = { fg = "love", bg = "love", blend = 15 },
|
||||||
-- VertSplit = { fg = "muted", bg = "muted" },
|
-- VertSplit = { fg = "muted", bg = "muted" },
|
||||||
|
-- Visual = { fg = "base", bg = "text", inherit = false },
|
||||||
},
|
},
|
||||||
|
|
||||||
before_highlight = function(group, highlight, palette)
|
before_highlight = function(group, highlight, palette)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue