plugins.aerial.settings.float.border

Controls border appearance. Passed to nvim_open_win.

Type: null or string or attribute set of anything

Default: null

Plugin default: "rounded"

Declared by:

plugins.aerial.settings.float.height

Height of the floating window. It can be integers or a float between 0 and 1 (e.g. 0.4 for 40%).

Type: null or raw lua code 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.aerial.settings.float.max_height

Maximum height of the floating window. It can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) or a list of those.

Type: null or raw lua code or (unsigned integer, meaning >=0) or integer or floating point number between 0.0 and 1.0 (both inclusive) or list of (raw lua code or (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.aerial.settings.float.min_height

Minimum height of the floating window. It can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) or a list of those. For example, [ 8 0.1 ] means “the greater of 8 rows or 10% of total”.

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

Default: null

Plugin default:

[
  8
  0.1
]

Declared by:

plugins.aerial.settings.float.override

Override the config for a specific window.

Type: null or raw lua code

Default: null

Plugin default: lib.nixvim.mkRaw "function(conf, source_winid)\n -- This is the config that will be passed to nvim_open_win.\n -- Change values here to customize the layout\n return conf\nend\n"

Declared by:

plugins.aerial.settings.float.relative

Determines location of floating window

  • "cursor": Opens float on top of the cursor
  • "editor": Opens float centered in the editor
  • "win": Opens float centered in the window

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

Default: null

Plugin default: "cursor"

Declared by: