davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

Popups that cover a would-be autocompleted word prevent it from being autocompleted properly #1119

Closed mooreye closed 6 months ago

mooreye commented 6 months ago

Example - create a file like so:

#!/usr/bin/env python3

foobar = "string"
len()

then type f inside the () and press Ctrl+N (or Tab if using supertab plugin). It will complete fo instead of foobar, probably because the popup covers the line with foobar and Neovim doesn't see it. It looks like this:

2024-02-08T14:41:41,676588692+01:00

Workaround is to set autocmd FileType python setlocal completeopt-=preview but is it possible to still have popups and autocompletion work correctly?

davidhalter commented 6 months ago

You forgot to fill out the form when creating the issue. We don't have enough information to debug your issue. Since you have ignored it, I'm closing this issue, because the form is there for a reason. It saves us a lot of time and questions.

We are happy to reopen this issue if you add the necessary debug information (just click the New Issue Button and you'll find it there).