plugins.cmp.settings.window.documentation.border

Defines the border to use for nvim-cmp documentation popup menu. Accepts same border values as nvim_open_win(). See :help nvim_open_win() for more info.

Plugin default: [ "" "" "" " " "" "" "" " " ]

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

Default: null

Declared by:

plugins.cmp.settings.window.documentation.max_height

The documentation window’s max height.

Default: “math.floor(40 * (40 / vim.o.lines))”

Type: null or lua code string or (unsigned integer, meaning >=0)

Default: null

Declared by:

plugins.cmp.settings.window.documentation.max_width

The documentation window’s max width.

Default: “math.floor((40 * 2) * (vim.o.columns / (40 * 2 * 16 / 9)))”

Type: null or lua code string or (unsigned integer, meaning >=0)

Default: null

Declared by:

plugins.cmp.settings.window.documentation.winhighlight

Specify the window’s winhighlight option. See |nvim_open_win|.

Plugin default: "FloatBorder:NormalFloat"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.cmp.settings.window.documentation.zindex

The window’s zindex. See |nvim_open_win|.

Type: null or (unsigned integer, meaning >=0)

Default: null

Declared by: