plugins.dressing.settings.select.builtin.border

Defines the border to use for the select window. Accepts same border values as nvim_open_win(). See :help nvim_open_win() for more info.

Plugin default: rounded

Type: null or string or list of string or list of list of string or raw lua code

Default: null

Declared by:

plugins.dressing.settings.select.builtin.buf_options

An attribute set of buffer options.

Plugin default: {}

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

Default: null

Declared by:

plugins.dressing.settings.select.builtin.height

Can be an integer or a float between 0 and 1 (e.g. 0.4 for 40%).

Plugin default: null

Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive)

Default: null

Declared by:

plugins.dressing.settings.select.builtin.mappings

Mappings in normal mode for the builtin selector.

To disable a default mapping in a specific mode, set it to false.

Plugin default:

{
  "<Esc>" = "Close";
  "<C-c>" = "Close";
  "<CR>" = "Confirm";
}

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

Default: null

Declared by:

plugins.dressing.settings.select.builtin.max_height

Max height of window.

Can be a list of mixed types, e.g. [140 0.8] means “less than 140 rows or 80% of total.”

Plugin default: 0.9

Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive) or list of (unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive))

Default: null

Declared by:

plugins.dressing.settings.select.builtin.max_width

Max width of window.

Can be a list of mixed types, e.g. [140 0.8] means “less than 140 columns or 80% of total.”

Plugin default: [140 0.8]

Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive) or list of (unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive))

Default: null

Declared by:

plugins.dressing.settings.select.builtin.min_height

Min height of window.

Can be a list of mixed types, e.g. [10 0.2] means “less than 10 rows or 20% of total.”

Plugin default: [10 0.2]

Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive) or list of (unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive))

Default: null

Declared by:

plugins.dressing.settings.select.builtin.min_width

Min width of window.

Can be a list of mixed types, e.g. [40 0.2] means “less than 40 columns or 20% of total.”

Plugin default: [40 0.2]

Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive) or list of (unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive))

Default: null

Declared by:

plugins.dressing.settings.select.builtin.override

Lua function that takes config that is passed to nvim_open_win. Used to customize the layout.

Plugin default: function(conf) return conf end

Type: null or lua function string

Default: null

Declared by:

plugins.dressing.settings.select.builtin.relative

Affects the dimensions of the window with respect to this setting. If ‘editor’ or ‘win’, will default to being centered.

Plugin default: "editor"

Type: null or one of “editor”, “win”, “cursor” or raw lua code

Default: null

Declared by:

plugins.dressing.settings.select.builtin.show_numbers

Display numbers for options and set up keymaps.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.dressing.settings.select.builtin.width

Can be an integer or a float between 0 and 1 (e.g. 0.4 for 40%).

Plugin default: null

Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive)

Default: null

Declared by:

plugins.dressing.settings.select.builtin.win_options

An attribute set of window options.

Plugin default:

{
  cursorline = true;
  cursorlineopt = "both";
}

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

Default: null

Declared by: