plugins.tiny-devicons-auto-colors.settings

Options provided to the require('tiny-devicons-auto-colors').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  autoreload = true;
  cache = {
    enabled = true;
    path = "/path/to/cache.json";
  };
  colors = {
    green = "#00ff00";
    red = "#ff0000";
  };
  factors = {
    chroma = 1.2;
    hue = 1.1;
    lightness = 1.5;
  };
  ignore = [
    "lua"
    "vim"
  ];
  precise_search = {
    enabled = true;
    iteration = 15;
    precision = 25;
    threshold = 20;
  };
}

Declared by:

plugins.tiny-devicons-auto-colors.settings.autoreload

Automatically reload colors when the colorscheme changes.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.tiny-devicons-auto-colors.settings.colors

A table of color codes that the plugin will use to assign colors to devicons. If not provided, the plugin will fetch highlights from the current theme to generate a color palette.

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

Default: null

Plugin default: [ ]

Declared by:

plugins.tiny-devicons-auto-colors.settings.ignore

A list of icon names to ignore.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: [ ]

Declared by: