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

Gradually fill the completion list for certain sources #92

Closed
DarkDefender opened this issue Dec 8, 2015 · 1 comment
Closed

Gradually fill the completion list for certain sources #92

DarkDefender opened this issue Dec 8, 2015 · 1 comment

Comments

@DarkDefender
Copy link

I'm sorry if this is not the right place to ask, but is it possible to gradually fill the completion list?

I'm asking because I modified the clang_complete source to call the clang lib directly for completions. And it works well, but the clang complete source is quite slow.

xavierd/clang_complete#464

Because it's slow, the completion candidates from other sources will not show up until the clang complete source is done.

So I'm wondering if I could somehow show the completion candidates from the faster sources first and then add the clang complete candidates when it's done?

If this is something that can be done, then perhaps add a something to the menu that tells the user that not all sources has returned their completion candidates.

@Shougo
Copy link
Owner

Shougo commented Dec 9, 2015

Unfortunately, it cannot. Because, Vim/neovim does not support it.
unite.vim already implemented though....
You can request the feature in neovim issues.

Performance advice:
To call clang_complete is too slow.
I think to call clang_complete if cursor is after . or :: or -> only is better.

@Shougo Shougo closed this as completed Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants