jedi-vim icon indicating copy to clipboard operation
jedi-vim copied to clipboard

Neovim's virtualtext for call signatures

Open blueyed opened this issue 7 years ago • 7 comments

We could investigate using Neovim's virtualtext support for call signatures (https://github.com/davidhalter/jedi-vim/issues/890#issuecomment-444284185), which could be added to the end of the current line.

(https://github.com/davidhalter/jedi-vim/issues/890#issuecomment-444284185 reminded me of that)

blueyed avatar Dec 05 '18 00:12 blueyed

Does the new Vim popup change anything? Syntax highlighting signatures maybe?

blayz3r avatar Jun 06 '19 11:06 blayz3r

Yeah, that would likely be even better to use. Neovim has it also (had it before, and Vim uses a different API again...).

blueyed avatar Jun 06 '19 11:06 blueyed

I'm open to all those changes, but I'm still using old VIM, so feel free to change this.

davidhalter avatar Jun 07 '19 08:06 davidhalter

Started playing with using Neovim's floating windows. Based on https://github.com/davidhalter/jedi-vim/pull/652.

blueyed avatar Aug 19 '19 00:08 blueyed

Syntax highlighting signatures maybe?

It still uses the existing concealing (but in a separate window, not messing with the current buffer anymore, which might interfere with indenting etc).

blueyed avatar Aug 19 '19 00:08 blueyed

We can do the same for VIM, using textprop, but we need at least patch 8.2.0286.

davidhalter avatar Jan 02 '21 12:01 davidhalter

Note: textprop is used for usages already: https://github.com/blueyed/jedi-vim/blob/6ca603ffdf989cfc7426485252a77529951ea47e/pythonx/jedi_vim.py#L658-L669

blueyed avatar Jan 02 '21 20:01 blueyed