Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

plugins.barbar.settings.icons.diagnostics

Set the icon for each diagnostic level.

The keys will be automatically translated to raw lua:

{
  "vim.diagnostic.severity.INFO".enabled = true;
  "vim.diagnostic.severity.WARN".enabled = true;
}

will result in the following lua:

{
  -- Note the table keys are not string literals:
  [vim.diagnostic.severity.INFO] = { ['enabled'] = true },
  [vim.diagnostic.severity.WARN] = { ['enabled'] = true },
}

Type: open submodule of attribute set of anything

Default: { }

Plugin default:

{
  "vim.diagnostic.severity.ERROR" = {
    enabled = false;
    icon = " ";
  };
  "vim.diagnostic.severity.HINT" = {
    enabled = false;
    icon = "󰌶 ";
  };
  "vim.diagnostic.severity.INFO" = {
    enabled = false;
    icon = " ";
  };
  "vim.diagnostic.severity.WARN" = {
    enabled = false;
    icon = " ";
  };
}

Declared by: