You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to reproduce:
In .vimrc, put set completeopt-=preview and set completeopt+=popup.
Then open a Python file and type something, for example prin. Press Ctrl-Space to show the completion menu. Press Ctrl-N to select print. A popup will appear.
The bug:
As opposed to what would have happened in a preview scratch buffer, the popup will display the function signature twice (see screenshot).
The text was updated successfully, but these errors were encountered:
So the docstring is provided by jedi and does not include def .
The type info that we build relies on jedi's definition.description, which does contain def.
Looking at the jedi API, maybe we should be using definition.name instead.
Mind trying that out and reporting your experience?
How to reproduce:
In .vimrc, put
set completeopt-=preview
andset completeopt+=popup
.Then open a Python file and type something, for example
prin
. Press Ctrl-Space to show the completion menu. Press Ctrl-N to selectprint
. A popup will appear.The bug:
As opposed to what would have happened in a preview scratch buffer, the popup will display the function signature twice (see screenshot).
The text was updated successfully, but these errors were encountered: