dzhou121 / gonvim

MIT License
1.79k stars 34 forks source link

Crashes some of the time when deoplete loads completion menus from jedi #99

Open macthecadillac opened 6 years ago

macthecadillac commented 6 years ago

Hi,

I noticed that gonvim crashes some of the time when deoplete loads completion menus from jedi (Python). Originally I had max_list (a deoplete option) set to 0 so the completion pop-ups could have hundreds of entries for big libraries such as numpy. From my observation, gonvim crashes every single time I complete something from numpy (but not from subprocess or os, which have much smaller namespaces). After setting max_list to some finite integer, gonvim no longer crashes on numpy completion but I noticed that it still crashes when deoplete is completing from some of my own libraries, which are not quite as massive as numpy, so it would seem to me that perhaps the size of the completion menu isn't the ultimate culprit either. My setup has been working perfectly with neovim in the plain ol' terminal for years.

It is interesting that the same thing doesn't seem to happen with other programming languages and gonvim does just fine when deoplete loads from racer (Rust) or merlin (OCaml).

System information in case you need them: OS: Debian 9.4 Version: 0.2.2 (Prebuilt binary)

Thanks