vim --clean
vim9script set autocomplete set completeopt=fuzzy set complete=FF1,FF2 def g:F1(findstart: bool, _): any if findstart return 0 endif return ['ad', 'ae', 'af'] enddef def g:F2(findstart: bool, _): any if findstart return 0 endif return ['a', 'ab', 'ac'] enddef
Type 'a'. Now 'a' is the first, but it comes from the second source.
I hope the fuzzy sort only sort items in the source, and respect the priority of the source.
CC: @glepnir @girishji I am not sure whether this is a bug or feature request.
nosort will disable all sorts which is not the ideal solution for this problem.
Thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
It is working as expected. fuzzy sort sorts the whole list irrespective of source.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()