]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1315: completion: issue with fuzzy completion and 'completefuzzycollect' v9.1.1315
authorglepnir <glephunter@gmail.com>
Thu, 17 Apr 2025 18:17:53 +0000 (20:17 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 17 Apr 2025 18:17:53 +0000 (20:17 +0200)
commitcfe502c5753cce2080ddabdfdcacb8e4b3092721
treeb57f61b17f9723f7e536485dfda2cb8c992eb654
parent06fdfa11c565599ac13ad5c077d1dabbbfde03ac
patch 9.1.1315: completion: issue with fuzzy completion and 'completefuzzycollect'

Problem:  chain complete does not work when 'cot' includes fuzzy
          and 'completefuzzycollect' collects wrong next word.
          (Konfekt)
Solution: compl_startpos is not set correctly, remove next word check
          in search_for_fuzzy_match (glepnir).

fixes #17131
fixes #16942
closes: #17136

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/search.c
src/testdir/test_ins_complete.vim
src/version.c