]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1739: Matches may be listed twice with wildmode=longest,list v9.1.1739
authorzeertzjq <zeertzjq@outlook.com>
Sun, 7 Sep 2025 07:35:04 +0000 (09:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 7 Sep 2025 07:35:04 +0000 (09:35 +0200)
commita28a2eb9d9362adb1c7f9ebde66cd1329dd463bb
treea2c7d23cb4d33b9dd6e632b14a340a4085588a40
parent708ab7f5fbef95c43a3eb6c0a2ad4e02ad4c2f98
patch 9.1.1739: Matches may be listed twice with wildmode=longest,list

Problem:  Matches may be listed twice with wildmode=longest,list when
          "longest" doesn't change command line (after 9.1.1737).
Solution: Set did_wild_list when trying "list" after "longest"
          (zeertzjq).

closes: #18227

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