]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1056: Vim doesn't highlight to be inserted text when completing v9.1.1056
authorglepnir <glephunter@gmail.com>
Wed, 29 Jan 2025 17:53:51 +0000 (18:53 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 29 Jan 2025 17:58:04 +0000 (18:58 +0100)
commitedd4ac3e895ce16034c7e098f1d68e0155d97886
tree8001ae9e6e06e1ea3d81face47cf06cc3419142c
parentec961b05dcc1efb0a234f6d0b31a0945517e75d2
patch 9.1.1056: Vim doesn't highlight to be inserted text when completing

Problem:  Vim doesn't highlight to be inserted text when completing
Solution: Add support for the "preinsert" 'completeopt' value
          (glepnir)

Support automatically inserting the currently selected candidate word
that does not belong to the latter part of the leader.

fixes: #3433
closes: #16403

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
runtime/doc/version9.txt
src/edit.c
src/insexpand.c
src/option.h
src/optionstr.c
src/proto/insexpand.pro
src/testdir/gen_opt_test.vim
src/testdir/test_ins_complete.vim
src/version.c