[mini.completion] LSP completion items can be incomplete #1057
Replies: 1 comment
-
Thanks for the thought, I appreciate that! It is indeed a known behavior which probably won't get resolved. The reason for this is that 'mini.completion' is designed to rely on built-in completion capabilities as much as possible. In particular, this means that after the results are received from the LSP server, they are shown/filtered/unfiltered with built-in mechanics. Which doesn't have the concept of "this might be not all completion candidates, please request the rest". Forcing with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that the LSP completion is sometimes not listing all items. After some investigation, I believe this is because CompletionList.isIncomplete isn't handled. The spec says:
This leads to weird situations where typing slow and typing fast leads to different results (because of the delay):


I prefer to have the delay set to 0, which just makes it worse. The only way around this is to use ctrl+space to force another request.
I'm not sure if this is intended to keep the plugin minimal or not (like the situation with workspace symbols), so I didn't want to open an issue.
Beta Was this translation helpful? Give feedback.
All reactions