]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1005: completion text is highlighted even with no pattern found v9.1.1005
authorglepnir <glephunter@gmail.com>
Sat, 11 Jan 2025 15:42:50 +0000 (16:42 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 11 Jan 2025 15:42:50 +0000 (16:42 +0100)
commit9fddb8ae770be3e16545dd4c2f4cfaad8f62cb40
treeaa8bd7c4182ea7f13d1ceafcd1345ca6e161734e
parentebb08d591314af4262de5599d2041458d547e3ef
patch 9.1.1005: completion text is highlighted even with no pattern found

Problem:  completion text is highlighted even with no pattern found
Solution: use ins_compl_leader_len() instead of checking
          compl_leader.length (glepnir)

closes: #16422

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/testdir/dumps/Test_pum_matchins_combine_09.dump [new file with mode: 0644]
src/testdir/test_popup.vim
src/version.c