plugins.neotest.settings

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

Type: attribute set of anything

Default: { }

Example:

{
  output = {
    enabled = true;
    open_on_run = true;
  };
  output_panel = {
    enabled = true;
    open = "botright split | resize 15";
  };
  quickfix = {
    enabled = false;
  };
}

Declared by:

plugins.neotest.settings.consumers

key: string value: lua function

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

Default: null

Plugin default: {}

Declared by:

plugins.neotest.settings.default_strategy

The default strategy.

Type: null or string or raw lua code

Default: null

Plugin default: "integrated"

Declared by:

plugins.neotest.settings.highlights

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

Default: null

Plugin default:

{
  adapter_name = "NeotestAdapterName";
  border = "NeotestBorder";
  dir = "NeotestDir";
  expand_marker = "NeotestExpandMarker";
  failed = "NeotestFailed";
  file = "NeotestFile";
  focused = "NeotestFocused";
  indent = "NeotestIndent";
  marked = "NeotestMarked";
  namespace = "NeotestNamespace";
  passed = "NeotestPassed";
  running = "NeotestRunning";
  select_win = "NeotestWinSelect";
  skipped = "NeotestSkipped";
  target = "NeotestTarget";
  test = "NeotestTest";
  unknown = "NeotestUnknown";
  watching = "NeotestWatching";
}

Declared by:

plugins.neotest.settings.icons

Icons used throughout the UI. Defaults use VSCode’s codicons.

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

Default: null

Plugin default:

{
  child_indent = "│";
  child_prefix = "├";
  collapsed = "─";
  expanded = "╮";
  failed = "";
  final_child_indent = " ";
  final_child_prefix = "╰";
  non_collapsible = "─";
  passed = "";
  running = "";
  running_animated = ["/" "|" "\\" "-" "/" "|" "\\" "-"];
  skipped = "";
  unknown = "";
  watching = "";
}

Declared by:

plugins.neotest.settings.log_level

Minimum log levels.

Type: null or unsigned integer, meaning >=0, or one of “off”, “error”, “warn”, “info”, “debug”, “trace”

Default: null

Plugin default: warn

Declared by: