Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completor freezes on python autocomplete, certain modules #271

Open
JPFrancoia opened this issue Aug 8, 2019 · 3 comments
Open

Completor freezes on python autocomplete, certain modules #271

JPFrancoia opened this issue Aug 8, 2019 · 3 comments

Comments

@JPFrancoia
Copy link

JPFrancoia commented Aug 8, 2019

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:

  • pandas.Dat... (it freezes while I type, when I'm around the t...)
  • import ipdb; ipdb.s... (it freezes on the s)

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
Copy link

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
Copy link

ghost commented Jan 31, 2020

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

@SWu
Copy link

SWu commented Apr 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants