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

Deoplete API should never hang #534

Closed
mqudsi opened this issue Aug 26, 2017 · 2 comments
Closed

Deoplete API should never hang #534

mqudsi opened this issue Aug 26, 2017 · 2 comments

Comments

@mqudsi
Copy link

mqudsi commented Aug 26, 2017

I don't have a reproducible .vim, and I'm not having any problems with deoplete.

The problem is that while some deoplete sources are fully async, others cause the editor to hang when working on massive projects.

I have omnifunc support completely disabled (not set) in deoplete, but using either clang-deoplete or clang-deoplete2 on a large C++ codebase causes the editor to hang/lag in insert mode.

Suggestion: The deoplete API should never hang, no matter how bad the code in a deoplete completion source is.

@prabirshrestha
Copy link

I think in deoplete source itself should be marked explicitly as async. More details at the end of #407.

@Shougo
Copy link
Owner

Shougo commented Aug 27, 2017

#471

@Shougo Shougo closed this as completed Aug 27, 2017
mqudsi added a commit to mqudsi/nvim-config that referenced this issue Oct 30, 2017
While deoplete offers a non-blocking API, there are no non-blocking
guarantees and bad providers can still hang on completion collection.

See Shougo/deoplete.nvim#534

deoplete-clang is really bad at this and with large C/C++ codebases
(such as fish-shell), the editor is slowed down to the point of becoming
unusable.

deoplete-plugins/deoplete-clang#74 may also apply.
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