]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1810: completion: "longest" doesn't work for manual completion with 'ac' v9.1.1810
authorzeertzjq <zeertzjq@outlook.com>
Mon, 29 Sep 2025 20:11:37 +0000 (20:11 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 29 Sep 2025 20:11:37 +0000 (20:11 +0000)
commitb3966d6a8e96c9de45a344ec3d42fbb156863835
treedff0ff3f7ec2a1c1bc73235b01b93f57315e4b7d
parentc6802f41da83d187f84b90e8b080112af4fbe91a
patch 9.1.1810: completion: "longest" doesn't work for manual completion with 'ac'

Problem:  completion: "longest" doesn't work for manual completion when
          'autocomplete' is on (after 9.1.1800).
Solution: Only reset compl_get_longest when enabling autocompletion
          (zeertzjq).

closes: #18430

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