colorschemes.kanagawa.settings

Options provided to the require('kanagawa').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  colors = {
    palette = {
      fujiWhite = "#FFFFFF";
      sumiInk0 = "#000000";
    };
    theme = {
      all = {
        ui = {
          bg_gutter = "none";
        };
      };
      dragon = {
        syn = {
          parameter = "yellow";
        };
      };
      wave = {
        ui = {
          float = {
            bg = "none";
          };
        };
      };
    };
  };
  commentStyle = {
    italic = true;
  };
  compile = false;
  dimInactive = false;
  functionStyle = { };
  overrides = "function(colors) return {} end";
  terminalColors = true;
  theme = "wave";
  transparent = false;
  undercurl = true;
}

Declared by:

colorschemes.kanagawa.settings.commentStyle

Highlight options for comments.

Plugin default: {italic = true;}

Type: null or (attribute set of (anything or raw lua code))

Default: null

Declared by:

colorschemes.kanagawa.settings.compile

Enable compiling the colorscheme.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

colorschemes.kanagawa.settings.dimInactive

Whether dim inactive window :h hl-NormalNC.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

colorschemes.kanagawa.settings.functionStyle

Highlight options for functions.

Plugin default: {}

Type: null or (attribute set of (anything or raw lua code))

Default: null

Declared by:

colorschemes.kanagawa.settings.keywordStyle

Highlight options for keywords.

Plugin default: {italic = true;}

Type: null or (attribute set of (anything or raw lua code))

Default: null

Declared by:

colorschemes.kanagawa.settings.overrides

The body of a function that add/modify hihlights. It takes as input a colors argument which is a table of this form:

  colors = {
    palette = {
      foo = "#RRGGBB",
      bar = "#RRGGBB"
    },
    theme = {
      foo = "#RRGGBB",
      bar = "#RRGGBB"
    }
  }

It should return a table of highlights.

  function(colors)
    CONTENT_OF_OVERRIDE_OPTION
  end

Plugin default:

function(colors)
  return {}
end

Type: null or lua function string

Default: null

Declared by:

colorschemes.kanagawa.settings.statementStyle

Highlight options for statements.

Plugin default: {bold = true;}

Type: null or (attribute set of (anything or raw lua code))

Default: null

Declared by:

colorschemes.kanagawa.settings.terminalColors

If true, defines vim.g.terminal_color_{0,17}.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

colorschemes.kanagawa.settings.theme

The theme to load when background is not set.

Plugin default: "wave"

Type: null or string or raw lua code

Default: null

Declared by:

colorschemes.kanagawa.settings.transparent

Whether to set a background color.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

colorschemes.kanagawa.settings.typeStyle

Highlight options for types.

Plugin default: {}

Type: null or (attribute set of (anything or raw lua code))

Default: null

Declared by:

colorschemes.kanagawa.settings.undercurl

Enable undercurls.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: