maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

Completor freezes on python autocomplete, certain modules #271

Open JPFrancoia opened 4 years ago

JPFrancoia commented 4 years ago

Hi,

first of all, completor is amazing. I've been using it for > 1 year, and it does a very good job. Light, simple, nothing to complain about. I use it at home on my linux machine and at work on my mac machine.

Sometimes, completor freezes vim completely. The issue seems hard to reproduce, but on my mac machine at work, it regularly (but not always) freezes on:

I work with iterm2 and inside a virtualven. Jedi is installed the virtualenv.

At home on my linux machine, I observe more or less the same behaviour, but it's less frequent. When the freeze happens, I need to completely close the tab of my terminal, keyboard has no effect.

Any idea what might cause that, or how I could start debuging the issue?

Cheers

EDIT: as @zo7 mentioned it, if I remove completor too, I don't get freezes anymore.

somewacko commented 4 years ago

I've also been experiencing this and just checked to see if I should open an issue.

I have a very similar setup -- macOS, iTerm2, virtualenv. I've been noticing this happening for the last few weeks, but haven't noticed any patterns about when it freezes or which libraries it freezes on. It does seem to freeze when the autocomplete kicks in and I've verified that disabling completor stops vim from freezing.

I've found that resizing the terminal window unfreezes vim, so it might be a weird interaction between how iTerm2 renders text and something inside vim. If I type while vim is frozen some characters do seem to get written to the buffer.

Happy to help debug or find a fix as well!

ghost commented 4 years ago

I’m having the same issue (resizing window unfreezes it). Do folks have a fix suggestion?

SWu commented 4 years ago

Same observation, where resizing the window unfreezes it, but I'm running rxvt-unicode on Ubuntu.