> What part of balloons? If you mean 'balloonexpr', it only returns plain
> text. Perhaps you mean the functionality to detect the mouse pointer is
> hovering over text for some time? Well, we could add 'balloonpopup',
> which would open a popup window with anything it likes and return the
> window ID. That window would then be closed when the mouse moves.
I think what you propose 'balloonpopup' is exactly what I'm looking
for, thank you.
Essentially I'd like to leverage the fact that gopls (the LSP server
used by govim) can return a richer markdown version of hover
information. Being able to display a popup window instead of a balloon
will (via text properties etc) allow me to do just that.
One other thing to mention: I think we would want a cursor movement to
dismiss such a popup, in addition to a mouse move.
Similarly, I think we will need one of the options to popup_create to
allow for 'moved' property to also include mouse movement. Reason
being, I'd like the user to be able to trigger exactly the same hover
information via a mapping, displaying the popup at the cursor position
(not the mouse position). Just as described above, a mouse movement or
cursor movement should dismiss such a popup.
Thanks