You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this, rust-analyzer unconditionally set IsIncomplete to true for faster autocomplete response.
This results in omnicomplete always show a unfiltered list, which contains a lot of useless entries.
It should be OK always filter the list in omnifunc, because speed doesn't matter as much as in autocomplete. I can't see the necessity to not filter the list.
According to this, rust-analyzer unconditionally set
IsIncomplete
to true for faster autocomplete response.This results in omnicomplete always show a unfiltered list, which contains a lot of useless entries.
It should be OK always filter the list in omnifunc, because speed doesn't matter as much as in autocomplete. I can't see the necessity to not filter the list.
I suggest to remove the
lspserver.completeItemsIsIncomplete
check here:https://github.com/yegappan/lsp/blob/main/autoload/lsp/completion.vim#L538
There is already a PR to remove the check(#568), but the author deleted the fork and closed the PR.
At least we should provide an option to bypass this check.
This should fix #366
The text was updated successfully, but these errors were encountered: