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.
Type: null or string or list of string or list of list of string or raw lua code
Default:
null
Plugin default: "rounded"
Declared by:
plugins.dressing.settings.select.builtin.buf_options
An attribute set of buffer options.
Type: null or (attribute set of (anything or raw lua code))
Default:
null
Plugin default: { }
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%).
Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive)
Default:
null
Plugin 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
.
Type: null or (attribute set of (string or value false (singular enum) or raw lua code))
Default:
null
Plugin default:
{
"<C-c>" = "Close";
"<CR>" = "Confirm";
"<Esc>" = "Close";
}
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.”
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
Plugin default: 0.9
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.”
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
Plugin default:
[
140
0.8
]
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.”
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
Plugin default:
[
10
0.2
]
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.”
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
Plugin default:
[
40
0.2
]
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.
Type: null or lua function string
Default:
null
Plugin default: "function(conf) return conf end"
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.
Type: null or one of “editor”, “win”, “cursor” or raw lua code
Default:
null
Plugin default: "editor"
Declared by:
plugins.dressing.settings.select.builtin.show_numbers
Display numbers for options and set up keymaps.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
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%).
Type: null or unsigned integer, meaning >=0, or integer or floating point number between 0.0 and 1.0 (both inclusive)
Default:
null
Plugin default: null
Declared by:
plugins.dressing.settings.select.builtin.win_options
An attribute set of window options.
Type: null or (attribute set of (anything or raw lua code))
Default:
null
Plugin default:
{
cursorline = true;
cursorlineopt = "both";
}
Declared by: