neovim-gtk icon indicating copy to clipboard operation
neovim-gtk copied to clipboard

[Feature] Tooltip support

Open hasufell opened this issue 6 years ago • 7 comments

I'm not really sure what is involved in that feature. When using diagnostics via e.g. ALE, I get tooltips in gvim such as:

peek 2018-06-15 20-20

neovim-gtk currently doesn't seem to do that:

peek 2018-06-15 20-29

hasufell avatar Jun 15 '18 18:06 hasufell

I think this feature is disabled in neovim, but not sure. Just don't know where to get this tooltip info.

daa84 avatar Jun 16 '18 07:06 daa84

Afaik it's called balloons and it's removed in neovim indeed. https://github.com/neovim/neovim/issues/2544

Anrock avatar Jun 16 '18 07:06 Anrock

Afaik it's called balloons and it's removed in neovim indeed.

Then I wonder how this was implemented in gonvim:

gonvim

hasufell avatar Jun 16 '18 12:06 hasufell

@hasufell they probably just reimplemented it on top of nvim somehow.

Anrock avatar Jun 16 '18 12:06 Anrock

hm, yes it implemented using nvim api, https://github.com/dzhou121/gonvim/blob/c264bb83afbfe10c2d4991037142c169ce6519c3/editor/locpopup.go#L135

Interesting, think it is possible to implement same way

daa84 avatar Jun 16 '18 14:06 daa84

Interesting, think it is possible to implement same way

Right, that would be a shortcut, that will be useful short-term at least.

However, gvim seems to have a much more powerful approach there that even integrates with https://github.com/autozimu/LanguageClient-neovim showing type information on mouse-over:

https://i.imgur.com/C11BXgD.png

However, errors are the most important thing, probably.

hasufell avatar Jun 16 '18 14:06 hasufell

+1 for this feature. Tooltips are really helpful and it will be great if this is implemented.

TerminalWitchcraft avatar Sep 06 '18 19:09 TerminalWitchcraft