colorschemes.rose-pine.settings

Options provided to the require('rose-pine').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  before_highlight = "function(group, highlight, palette) end";
  dark_variant = "moon";
  dim_inactive_windows = true;
  enable = {
    legacy_highlights = false;
    migrations = true;
    terminal = false;
  };
  extend_background_behind_borders = true;
  groups = {
    border = "muted";
    link = "iris";
    panel = "surface";
  };
  highlight_groups = { };
  styles = {
    bold = false;
    italic = true;
    transparency = true;
  };
  variant = "auto";
}

Declared by:

colorschemes.rose-pine.settings.before_highlight

Called before each highlight group, before setting the highlight.

function(group, highlight, palette)

  @param group string
  @param highlight Highlight
  @param palette Palette

Type: null or lua function string

Default: null

Plugin default: "function(group, highlight, palette) end"

Declared by:

colorschemes.rose-pine.settings.dark_variant

Set the desired dark variant when settings.variant is set to “auto”.

Type: null or one of “main”, “moon”, “dawn” or raw lua code

Default: null

Plugin default: "main"

Declared by:

colorschemes.rose-pine.settings.dim_inactive_windows

Differentiate between active and inactive windows and panels.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

colorschemes.rose-pine.settings.extend_background_behind_borders

Extend background behind borders. Appearance differs based on which border characters you are using.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

colorschemes.rose-pine.settings.groups

Highlight groups.

default: see source

Type: null or (attribute set of (string or attribute set of string))

Default: null

Declared by:

colorschemes.rose-pine.settings.variant

Set the desired variant: “auto” will follow the vim background, defaulting to dark_variant or “main” for dark and “dawn” for light.

Type: null or one of “auto”, “main”, “moon”, “dawn”

Default: null

Declared by: