plugins.colorizer.settings

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

Type: attribute set of anything

Default: { }

Example:

{
  filetypes = {
    __unkeyed-1 = "*";
    __unkeyed-2 = "!vim";
    css = {
      rgb_fn = true;
    };
    html = {
      names = false;
    };
  };
  user_commands = [
    "ColorizerToggle"
    "ColorizerReloadAllBuffers"
  ];
  user_default_options = {
    mode = "virtualtext";
    names = false;
    virtualtext = "■ ";
  };
}

Declared by:

plugins.colorizer.settings.buftypes

Per-buftype options. Buftype value is fetched by vim.bo.buftype.

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

Default: null

Plugin default: [ ]

Example:

[
  "*"
  "!prompt"
  "!popup"
]

Declared by:

plugins.colorizer.settings.filetypes

Per-filetype options.

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

Default: null

Plugin default: [ ]

Example:

{
  __unkeyed-1 = "css";
  __unkeyed-2 = "javascript";
  html = {
    mode = "background";
  };
}

Declared by:

plugins.colorizer.settings.user_commands

Enable all or some usercommands.

Type: null or boolean or list of string

Default: null

Plugin default: true

Declared by: