> 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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CACoUkn64r9E2aAvSpB2YyA8760A4wGLTxrzMcnmgQ%3DF7zYXXVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui