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.

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

Default: null

Plugin default: false

Declared by:

plugins.barbar.settings.icons.buffer_number

If true, show the bufnr for the associated buffer.

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

Default: null

Plugin default: false

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.

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

Default: null

Plugin default: ""

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.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

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.

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

Default: null

Plugin default:

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

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).

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

Default: null

Plugin default:

{
  button = "●";
}

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).

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

Default: null

Plugin default:

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

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

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

Default: null

Plugin default: "default"

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: