]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1107: cannot loop through completion menu with fuzzy v9.1.1107
authorglepnir <glephunter@gmail.com>
Thu, 13 Feb 2025 19:27:44 +0000 (20:27 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 13 Feb 2025 19:27:44 +0000 (20:27 +0100)
commitc0b7ca406ba18640c56e2746d6f6d03549d53072
tree2657a4c9b4b7d32b38c77c87a914fe1426976e05
parent4f010c90bdcb56a9c72cfee4d6fe3130b88616f8
patch 9.1.1107: cannot loop through completion menu with fuzzy

Problem:  cannot loop through completion menu with fuzzy and nosort in
          'completeopt'
          (Tomasz N)
Solution: Reset cur to zero and update compl_shown_match when
          'completeopt' contains "nosort" but not "noselect"
          (glepnir)

fixes: #16624
closes: #16629

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