mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
Soho vibes for Neovim
- Lua 100%
* feat!: use new highlight api
* feat: support custom highlight blending
Example:
```
{
highlight_groups = {
StatusLine = { bg = 'love', blend = 10 }
}
}
```
* refactor: move config into separate file
* wip: update semantic tokens
* ci: add issue templates
Thanks to https://github.com/folke/lazy.nvim for the inspiration!
* ci: fix template formatting
* chore: update editorconfig
* fix: decouple more backgrounds from floats
* change `@tag.attribute` to iris
* add cursor highlights
Closes #121
* match link underline colour
* improve `dim_nc_background` behaviour
ref #123
* feat: expose each variant as individual theme
ref #98
* feat: update tokens
ref #107
* feat: distinguish between `CmpItemKind`'s
|
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| colors | ||
| lua | ||
| .editorconfig | ||
| .stylua.toml | ||
| license | ||
| readme.md | ||
Rosé Pine for Neovim
All natural pine, faux fur and a bit of soho vibes for the classy minimalist
Usage
With lazy.nvim
{
'rose-pine/neovim',
name = 'rose-pine',
lazy = false,
priority = 1000,
config = function()
require("rose-pine").setup()
vim.cmd('colorscheme rose-pine')
end
}
With packer.nvim
use({
'rose-pine/neovim',
as = 'rose-pine',
config = function()
require("rose-pine").setup()
vim.cmd('colorscheme rose-pine')
end
})
Supported plugins are listed in the wiki
Gallery
Rosé Pine
Rosé Pine Moon
Rosé Pine Dawn
Options
Options should be set before colorscheme
Variant respects vim.o.background, using dawn when light and dark_variant when dark
require('rose-pine').setup({
--- @usage 'auto'|'main'|'moon'|'dawn'
variant = 'auto',
--- @usage 'main'|'moon'|'dawn'
dark_variant = 'main',
bold_vert_split = false,
dim_nc_background = false,
disable_background = false,
disable_float_background = false,
disable_italics = false,
--- @usage string hex value or named color from rosepinetheme.com/palette
groups = {
background = 'base',
panel = 'surface',
border = 'highlight_med',
comment = 'muted',
link = 'iris',
punctuation = 'subtle',
error = 'love',
hint = 'iris',
info = 'foam',
warn = 'gold',
headings = {
h1 = 'iris',
h2 = 'foam',
h3 = 'rose',
h4 = 'gold',
h5 = 'pine',
h6 = 'foam',
}
-- or set all headings at once
-- headings = 'subtle'
},
-- Change specific vim highlight groups
highlight_groups = {
ColorColumn = { bg = 'rose' },
-- Blend colours against the "base" background
CursorLine = { bg = 'foam', blend = 10 },
StatusLine = { fg = 'love', bg = 'love', blend = 10 },
}
})
-- set colorscheme after options
vim.cmd('colorscheme rose-pine')
Contributing
We welcome and appreciate any help in creating a lovely experience for all.


