-
Notifications
You must be signed in to change notification settings - Fork 26
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
Void functions lsp--sort-completions
and lsp--annotate
#145
Comments
Comapny-lsp is no longer supported. Delete that package and lsp-mode will pick company-capf. |
Is there a way to have asynchronous completions with company-capf? |
it is async ootb. |
I mean, the implementation does not block but it is not async. |
I tried with company-capf, and it did in fact block while waiting for completions. For large projects, this block can be for more than 10 seconds, which is unacceptable. If you can show how to prevent this, that would be helpful. I am still using company-lsp because it does exactly that. |
company-capf does not block. Most likely something else is blocking. Please follow https://emacs-lsp.github.io/lsp-mode/page/performance/ |
This does not mirror my experience, see this issue: company-mode/company-mode#1073 Commenting out this line seems to resolve my problem: https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-completion.el#L774 I don't understand why |
It seems that updates to
lsp-mode
have changed the names of these functions. I worked around this issue by adding the following code to myinit.el
:Though it would be better for a PR to use the new names instead.
The text was updated successfully, but these errors were encountered: