]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1673: complete_info() selected index has an invalid value v8.2.1673
authorBram Moolenaar <Bram@vim.org>
Sat, 12 Sep 2020 20:52:57 +0000 (22:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 12 Sep 2020 20:52:57 +0000 (22:52 +0200)
commitb806aa5bd910dba94fbde586f6019b4825813d28
tree565cfe0e7deb0f5de8e2e9dbd7a874399af14820
parent4a091b9978122428e7d9154d034c640c9c8d8c13
patch 8.2.1673: complete_info() selected index has an invalid value

Problem:    complete_info() selected index has an invalid value. (Ben Jackson)
Solution:   Set the index when there is only one match. (closes #6945)
            Add test for complete_info().
src/insexpand.c
src/testdir/test_ins_complete.vim
src/version.c