Fixes #18488
NOTE: If completion items are already fuzzy-sorted during collection (for example, when a user or omni function returns a pre-sorted list), an additional redundant sort will still occur within the completion mechanism. This is harmless — the list is typically small, and the sorting operation (O(N log N)) remains efficient even for linked lists. No need for premature optimization.
https://github.com/vim/vim/pull/18497
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
This pr give sorted list is different with typing resort list. Is this expected or an error?
set cfc=keyword cot+=noselect,fuzzy augroup group_vim_ins_completion autocmd! autocmd FileType vim \ setlocal omnifunc=vimcomplete#Complete | \ setlocal complete+=o^7 augroup END
before
image.png (view on web)
resort by <C-h><BeforeChar>
image.png (view on web)
this pr
image.png (view on web)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
@girishji pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
There was a bug. Pl. try now.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I have tested, no problem.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.