You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for vim.diagnostic.open_float appears to be incomplete or incorrectly formatted.
The option descriptions seem to be truncated or missing some fields.
Additionally, some relevant options such as focus_id and focusable are missing but are present in the vim.lsp.util.open_floating_preview.
It is unclear whether these options are intended to be supported by vim.diagnostic.open_float or not.
Note: I found that we can call vim.diagnostic.open_float({focusable=true}) and observe that it behaves similarly to vim.lsp.buf.hover(), allowing focus to be set on the floating window with a second call.
Steps to reproduce
Open Neovim.
Execute :help vim.diagnostic.open_float to view the help documentation.
Observe the incomplete descriptions for the options.
Expected behavior
We can understand right behaviors and options of vim.diagnostic.open_float.
Neovim version (nvim -v)
NVIM v0.11.0-dev-78d3f47
Vim (not Nvim) behaves the same?
no
Operating system/version
Arch Linux
Terminal name/version
WezTerm
$TERM environment variable
xterm-256color
Installation
build from repo
The text was updated successfully, but these errors were encountered:
Problem
The documentation for
vim.diagnostic.open_float
appears to be incomplete or incorrectly formatted.The option descriptions seem to be truncated or missing some fields.
Additionally, some relevant options such as
focus_id
andfocusable
are missing but are present in thevim.lsp.util.open_floating_preview
.It is unclear whether these options are intended to be supported by
vim.diagnostic.open_float
or not.Note: I found that we can call
vim.diagnostic.open_float({focusable=true})
and observe that it behaves similarly tovim.lsp.buf.hover()
, allowing focus to be set on the floating window with a second call.Steps to reproduce
Expected behavior
We can understand right behaviors and options of
vim.diagnostic.open_float
.Neovim version (nvim -v)
NVIM v0.11.0-dev-78d3f47
Vim (not Nvim) behaves the same?
no
Operating system/version
Arch Linux
Terminal name/version
WezTerm
$TERM environment variable
xterm-256color
Installation
build from repo
The text was updated successfully, but these errors were encountered: