]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0498: getcmdcompltype() interferes with cmdline completion v9.1.0498
authorzeertzjq <zeertzjq@outlook.com>
Tue, 18 Jun 2024 18:31:08 +0000 (20:31 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 18 Jun 2024 18:31:08 +0000 (20:31 +0200)
commita821b609f9bb9daef032fe1cb8fb95995822e367
treeef68f499b294d4983ed4d459a2cb0c133ce03243
parenta48637c105ce5ccf6f3296958c889d15dc3faaa4
patch 9.1.0498: getcmdcompltype() interferes with cmdline completion

Problem:  getcmdcompltype() interferes with cmdline completion.
Solution: Don't set expand context when it's already set.
          (zeertzjq)

closes: #15036

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