Soho vibes for Neovim
Find a file
2023-07-28 23:04:08 +02:00
.github/ISSUE_TEMPLATE Update bug_report.yml (#157) 2023-04-30 16:27:50 -05:00
colors fix: reset palette when switching colorschemes 2023-05-28 17:25:09 +02:00
lua feat: color for flash (#174) 2023-07-21 10:09:29 +02:00
.editorconfig chore: update editorconfig 2023-01-13 14:11:12 -05:00
.stylua.toml refactor: format and remove unused values 2022-06-16 00:43:09 -04:00
license create license 2022-12-03 11:10:00 -05:00
readme.md docs: fix readme typo (#179) 2023-07-28 23:04:08 +02:00

Rosé Pine for Neovim

All natural pine, faux fur and a bit of soho vibes for the classy minimalist

Install

Paq

require('paq')({
  { 'rose-pine/neovim', as = 'rose-pine' }
})

lazy.nvim

require("lazy").setup({
  { 'rose-pine/neovim', name = 'rose-pine' }
})

packer.nvim

require('packer').startup(function(use)
  use({ 'rose-pine/neovim', as = 'rose-pine' })
end)

Rosé Pine

Rosé Pine with Neovim

Rosé Pine Moon

Rosé Pine Moon with Neovim

Rosé Pine Dawn

Rosé Pine Dawn with Neovim

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',
		background_nc = '_experimental_nc',
		panel = 'surface',
		panel_nc = 'base',
		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
	-- https://github.com/rose-pine/neovim/wiki/Recipes
	highlight_groups = {
		ColorColumn = { bg = 'rose' },

		-- 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 },
	}
})

-- Set colorscheme after options
vim.cmd('colorscheme rose-pine')

Contributing

We welcome and appreciate any help in creating a lovely experience for all.