diff options
| author | glepnir <glephunter@gmail.com> | 2025-12-17 11:39:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 22:39:47 -0500 |
| commit | 0197f13ed4fa71700fb4b5577a1375e4f34e2ad6 (patch) | |
| tree | 5c7ca7b378a3e23b4fb525bd4540ce704d038596 /runtime/lua/vim/_editor.lua | |
| parent | 8a94daf80eadbd9179768fe3d7da2f06c81dc740 (diff) | |
| download | rneovim-0197f13ed4fa71700fb4b5577a1375e4f34e2ad6.tar.gz rneovim-0197f13ed4fa71700fb4b5577a1375e4f34e2ad6.tar.bz2 rneovim-0197f13ed4fa71700fb4b5577a1375e4f34e2ad6.zip | |
fix(lsp): sort items when completeopt include fuzzy #36974
Problem: When fuzzy is enabled and the prefix is not empty,
items are not sorted by fuzzy score before calling fn.complete.
Solution: Use matchfuzzypos to get the scores and sort the items
by fuzzy score before calling fn.complete.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions