-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Async (native) backend with cache disabled flickers when user types too fast #1468
Milestone
Comments
dgutov
added a commit
that referenced
this issue
May 14, 2024
Employ the scheme previously devised by lsp-mode folks: keep the old list of completions (setting it to nil is what created the flicker) but updated the prefix. This is for "continue" case, of course. begin-new should still fail. #1468
dgutov
added a commit
that referenced
this issue
May 14, 2024
dgutov
added a commit
that referenced
this issue
May 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is basically a remaining issue from the previous work on asynchronous company backends (and improving the popup display when they are used).
Linking to the old comment: #654 (comment)
To reproduce:
no-cache t
to the definition ofcompany-clang
.clang
executable with a script like (to make sure responses are slow)The current practice in this field is returning the previous list of completions when the computation of the new one is interrupted. Perhaps this can be good enough for the built-in fix as well.
Additionally, I've got a request for opt-in wrapping of capf sources with
while-no-input
. It seems like, without additional improvements, such sources should exhibit the same problem, so the fix could be the same.The text was updated successfully, but these errors were encountered: