GithubHelp home page GithubHelp logo

rose-pine-neovim's Introduction

Rosé Pine for Neovim

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

Usage

With packer.nvim

use({
    'rose-pine/neovim',
    as = 'rose-pine',
    tag = 'v1.*',
    config = function()
        vim.cmd('colorscheme rose-pine')
    end
})

Plugins

PRs are more than welcome if your favourite plugin is missing

use({
	'nvim-lualine/lualine.nvim',
	-- fix mismatch palette between variants
	event = 'ColorScheme',
	config = function()
		require('lualine').setup({
			options = {
				---@usage 'rose-pine' | 'rose-pine-alt'
				theme = 'rose-pine'
			}
		})
	end
})
local colors = require("galaxyline.themes.colors")["rose-pine"]
use({
	'akinsho/bufferline.nvim',
	event = 'ColorScheme',
	config = function()
		local highlights = require('rose-pine.plugins.bufferline')
		require('bufferline').setup({ highlights = highlights })
	end
})
use({
	'akinsho/toggleterm.nvim',
	event = 'ColorScheme',
	config = function()
		local highlights = require('rose-pine.plugins.toggleterm')
		require('toggleterm').setup({ highlights = highlights })
	end
})

Gallery

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 'main'|'moon'
	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' }
	}
})

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

Contributing

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

rose-pine-neovim's People

Contributors

0oastro avatar briandipalma avatar chillax avatar danymat avatar eaxly avatar edeneast avatar fitrh avatar fvrests avatar guillaumeallain avatar ikws4 avatar iorvethe avatar kabouzeid avatar luissimas avatar matze avatar mvllow avatar nanozuki avatar ntbbloodbath avatar piersolenski avatar sorachii avatar the-spanish-guy avatar will avatar yagua avatar yuhixyz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.