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
When autoComplete is set to false, manual invocation of a completion uses omnifunc buffer setting which defaults to LspOmniFunc. However it completely ignores already typed chars and offers full list of completion options from the server.
For example, in a rust filetype buffer using rust-analyzer as a lsp server, invoking omnifunc completion for a string literal followed with .to
"hello".to
offers unfiltered and unsorted list of completions:
This is because the results are not sorted correctly from rust-analyzer. You can try this plugin https://github.com/girishji/vimcomplete and see if it solves your problem.
When
autoComplete
is set to false, manual invocation of a completion usesomnifunc
buffer setting which defaults toLspOmniFunc
. However it completely ignores already typed chars and offers full list of completion options from the server.For example, in a rust filetype buffer using rust-analyzer as a lsp server, invoking omnifunc completion for a string literal followed with
.to
offers unfiltered and unsorted list of completions:
instead of only words starting with
to
When
autoComplete
is on it does not happen, because there is no existing prefix by which options are filtered.Expected behavior: already typed chars are used for narrowing down list of completion options.
Completion matcher is "case" for case sensitive search.
The text was updated successfully, but these errors were encountered: