plugins.barbar.settings.icons.alternate

The icons which should be used for the |alternate-file|. Supports all the base options (e.g. buffer_index, filetype.enabled, etc) as well as modified and pinned.

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

Default: null

Declared by:

plugins.barbar.settings.icons.buffer_index

If true, show the index of the buffer with respect to the ordering of the buffers in the tabline.

Plugin default: false

Type: null or boolean or one of “superscript”, “subscript” or raw lua code

Default: null

Declared by:

plugins.barbar.settings.icons.buffer_number

If true, show the bufnr for the associated buffer.

Plugin default: false

Type: null or boolean or one of “superscript”, “subscript” or raw lua code

Default: null

Declared by:

plugins.barbar.settings.icons.button

The button which is clicked to close / save a buffer, or indicate that it is pinned. Use false to disable it.

Plugin default:

Type: null or string or value false (singular enum) or raw lua code

Default: null

Declared by:

plugins.barbar.settings.icons.current

The icons which should be used for current buffer. Supports all the base options (e.g. buffer_index, filetype.enabled, etc) as well as modified and pinned.

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

Default: null

Declared by:

plugins.barbar.settings.icons.filename

If true, show the name of the file.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.barbar.settings.icons.gitsigns

Gitsigns icons.

Plugin default:

{
  added = {
    enabled = true;
    icon = "+";
  };
  changed = {
    enabled = true;
    icon = "~";
  };
  deleted = {
    enabled = true;
    icon = "-";
  };
}

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

Default: null

Declared by:

plugins.barbar.settings.icons.inactive

The icons which should be used for |hidden-buffer|s and |inactive-buffer|s. Supports all the base options (e.g. buffer_index, filetype.enabled, etc) as well as modified and pinned.

Plugin default:

{
  separator = {
    left = "▎";
    right = "";
  };
}

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

Default: null

Declared by:

plugins.barbar.settings.icons.modified

The icons which should be used for a ‘modified’ buffer. Supports all the base options (e.g. buffer_index, filetype.enabled, etc).

Plugin default:

{
  button = "●";
}

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

Default: null

Declared by:

plugins.barbar.settings.icons.pinned

The icons which should be used for a pinned buffer. Supports all the base options (e.g. buffer_index, filetype.enabled, etc).

Plugin default:

{
  button = false;
  filename = false;
  separator = {
    right = " ";
  };
}

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

Default: null

Declared by:

plugins.barbar.settings.icons.preset

Base all |barbar-setup.icons| configuration off of this set of defaults.

  • 'default': the classic |barbar.nvim| look.
  • 'powerline': like (https://github.com/powerline/powerline)
  • 'slanted': like old Google Chrome tabs

Plugin default: "default"

Type: null or one of “default”, “powerline”, “slanted” or raw lua code

Default: null

Declared by:

plugins.barbar.settings.icons.visible

The icons which should be used for |active-buffer|s. Supports all the base options (e.g. buffer_index, filetype.enabled, etc) as well as modified and pinned.

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

Default: null

Declared by: