https://github.com/rose-pine/neovim
Soho vibes for Neovim
https://github.com/rose-pine/neovim
editor lua neovim neovim-theme nvim rose-pine soho-vibes theme vim vim-theme
Last synced: 10 days ago
JSON representation
Soho vibes for Neovim
- Host: GitHub
- URL: https://github.com/rose-pine/neovim
- Owner: rose-pine
- License: mit
- Created: 2021-05-18T16:16:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T15:27:19.000Z (20 days ago)
- Last Synced: 2025-04-03T08:53:12.287Z (17 days ago)
- Topics: editor, lua, neovim, neovim-theme, nvim, rose-pine, soho-vibes, theme, vim, vim-theme
- Language: Lua
- Homepage:
- Size: 7.89 MB
- Stars: 2,559
- Watchers: 7
- Forks: 158
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license
Awesome Lists containing this project
- awesome-neovim - rose-pine/neovim - All natural pine, faux fur and a bit of soho vibes for the classy minimalist. (Colorscheme / Tree-sitter Supported Colorscheme)
- awesome-neovim-sorted - rose-pine/neovim
- awesome-neovim-sorted - rose-pine/neovim
README
![]()
Rosé Pine for Neovim
All natural pine, faux fur and a bit of soho vibes for the classy minimalist
## Getting started
Install `rose-pine/neovim` using your favourite package manager:
### [pam.nvim](https://github.com/mvllow/pam.nvim)
```lua
{ source = "rose-pine/neovim", as = "rose-pine" }
```### [lazy.nvim](https://lazy.folke.io/installation)
**Structured Setup**
```lua
-- lua/plugins/rose-pine.lua
return {
"rose-pine/neovim",
name = "rose-pine",
config = function()
vim.cmd("colorscheme rose-pine")
end
}
```**Single file**
```lua
{ "rose-pine/neovim", name = "rose-pine" }
```## Gallery
**Rosé Pine**

**Rosé Pine Moon**

**Rosé Pine Dawn**

## Options
> [!IMPORTANT]
> Configure options _before_ setting colorscheme.Rosé Pine has three variants: main, moon, and dawn. By default, `vim.o.background` is followed, using dawn when light and `dark_variant` when dark.
Colour values accept named colours from the [Rosé Pine palette](https://rosepinetheme.com/palette/ingredients/), e.g. "foam", or valid hex, e.g. "#fa8072".
```lua
require("rose-pine").setup({
variant = "auto", -- auto, main, moon, or dawn
dark_variant = "main", -- main, moon, or dawn
dim_inactive_windows = false,
extend_background_behind_borders = true,enable = {
terminal = true,
legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
migrations = true, -- Handle deprecated options automatically
},styles = {
bold = true,
italic = true,
transparency = false,
},groups = {
border = "muted",
link = "iris",
panel = "surface",error = "love",
hint = "iris",
info = "foam",
note = "pine",
todo = "rose",
warn = "gold",git_add = "foam",
git_change = "rose",
git_delete = "love",
git_dirty = "rose",
git_ignore = "muted",
git_merge = "iris",
git_rename = "pine",
git_stage = "iris",
git_text = "rose",
git_untracked = "subtle",h1 = "iris",
h2 = "foam",
h3 = "rose",
h4 = "gold",
h5 = "pine",
h6 = "foam",
},palette = {
-- Override the builtin palette per variant
-- moon = {
-- base = '#18191a',
-- overlay = '#363738',
-- },
},-- 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)
-- Disable all undercurls
-- if highlight.undercurl then
-- highlight.undercurl = false
-- end
--
-- Change palette colour
-- if highlight.fg == palette.pine then
-- highlight.fg = palette.foam
-- end
end,
})vim.cmd("colorscheme rose-pine")
-- vim.cmd("colorscheme rose-pine-main")
-- vim.cmd("colorscheme rose-pine-moon")
-- vim.cmd("colorscheme rose-pine-dawn")
```> [!NOTE]
> Visit the [wiki](https://github.com/rose-pine/neovim/wiki) for [plugin configurations](https://github.com/rose-pine/neovim/wiki/Plugin-configurations) and [recipes](https://github.com/rose-pine/neovim/wiki/Recipes).## Contributing
We welcome and appreciate contributions of any kind. Create an issue or start a discussion for any proposed changes. Pull requests are encouraged for supporting additional plugins or [treesitter improvements](https://github.com/nvim-treesitter/nvim-treesitter/blob/master/CONTRIBUTING.md#highlights).
Feel free to update the [wiki](https://github.com/rose-pine/neovim/wiki/) with any [recipes](https://github.com/rose-pine/neovim/wiki/Recipes).