Description
Problem
The diagnostic handler for opening the floating preview window has special handling for diagnostics at the end of the line.
neovim/runtime/lua/vim/diagnostic.lua
Lines 2181 to 2189 in 570e62d
However, other handlers, such as the underline one, do not do this, which can lead to a surprising user experience (e.g., if you auto-summon the window when on a diagnostic, it will appear in places where there aren't diagnostic indicators). Can the handlers be made consistent?
Nvim version (nvim -v)
0.11.1
Metadata
Metadata
Assignees
Labels
No labels