Home Explore Blog CI



neovim

47th chunk of `runtime/doc/api.txt`
0e8b565014c348a41a4eb43435a3ac576c07f9549b9014b50000000100000fcc
 larger than
                    zero. The following screen elements have hard-coded
                    z-indices:
                    • 100: insert completion popupmenu
                    • 200: message scrollback
                    • 250: cmdline completion popupmenu (when
                      wildoptions+=pum) The default value for floats are 50.
                      In general, values below 100 are recommended, unless
                      there is a good reason to overshadow builtin elements.
                  • style: (optional) Configure the appearance of the window.
                    Currently only supports one value:
                    • "minimal" Nvim will display the window with many UI
                      options disabled. This is useful when displaying a
                      temporary float where the text should not be edited.
                      Disables 'number', 'relativenumber', 'cursorline',
                      'cursorcolumn', 'foldcolumn', 'spell' and 'list'
                      options. 'signcolumn' is changed to `auto` and
                      'colorcolumn' is cleared. 'statuscolumn' is changed to
                      empty. The end-of-buffer region is hidden by setting
                      `eob` flag of 'fillchars' to a space char, and clearing
                      the |hl-EndOfBuffer| region in 'winhighlight'.
                  • border: (`string|string[]`) (defaults to 'winborder'
                    option) Window border. The string form accepts the same
                    values as the 'winborder' option. The array form must have
                    a length of eight or any divisor of eight, specifying the
                    chars that form the border in a clockwise fashion starting
                    from the top-left corner. For example, the double-box
                    style can be specified as: >
                    [ "╔", "═" ,"╗", "║", "╝", "═", "╚", "║" ].
<
                    If fewer than eight chars are given, they will be
                    repeated. An ASCII border could be specified as: >
                    [ "/", "-", \"\\\\\", "|" ],
<
                    Or one char for all sides: >
                    [ "x" ].
<
                    Empty string can be used to hide a specific border. This
                    example will show only vertical borders, not horizontal: >
                    [ "", "", "", ">", "", "", "", "<" ]
<
                    By default, |hl-FloatBorder| highlight is used, which
                    links to |hl-WinSeparator| when not defined. Each border
                    side can specify an optional highlight: >
                    [ ["+", "MyCorner"], ["x", "MyBorder"] ].
<
                  • title: (optional) Title in window border, string or list.
                    List should consist of `[text, highlight]` tuples. If
                    string, or a tuple lacks a highlight, the default
                    highlight group is `FloatTitle`.
                  • title_pos: Title position. Must be set with `title`
                    option. Value can be one of "left", "center", or "right".
                    Default is `"left"`.
                  • footer: (optional) Footer in window border, string or
                    list. List should consist of `[text, highlight]` tuples.
                    If string, or a tuple lacks a highlight, the default
                    highlight group is `FloatFooter`.
                  • footer_pos: Footer position. Must be set with `footer`
                    option. Value can be one of "left", "center", or "right".
                    Default is `"left"`.
                  • noautocmd: If true then all autocommands are blocked for
                    the duration of the call.
                  • fixed: If true when anchor is NW or SW, the float window
                    would be kept fixed even if the window would be truncated.
                  • hide: If true the floating window will be hidden and

Title: nvim_open_win Extended Configuration: Styling, Borders, Titles, and More
Summary
This section details advanced configuration options for the `nvim_open_win` function, including styling (e.g., 'minimal'), border customization (characters, highlights), title and footer management (text, highlight, position), autocommand blocking, fixed positioning, and window hiding.