plugins.dap-ui.settings

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

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by:

plugins.dap-ui.settings.expand_lines

Expand current line to hover window if larger than window size.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.dap-ui.settings.force_buffers

Prevents other buffers being loaded into dap-ui windows.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.dap-ui.settings.layouts

List of layouts for dap-ui.

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

Default: null

Plugin default:

[
  {
    elements = [
      {
        id = "scopes";
        size = 0.25;
      }
      {
        id = "breakpoints";
        size = 0.25;
      }
      {
        id = "stacks";
        size = 0.25;
      }
      {
        id = "watches";
        size = 0.25;
      }
    ];
    position = "left";
    size = 40;
  }
  {
    elements = [
      {
        id = "repl";
        size = 0.5;
      }
      {
        id = "console";
        size = 0.5;
      }
    ];
    position = "bottom";
    size = 10;
  }
]

Declared by:

plugins.dap-ui.settings.select_window

A function which returns a window to be used for opening buffers such as a stack frame location.

Type: null or lua function string

Default: null

Plugin default: null

Declared by: