]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1381: completion: cannot return to original text v9.1.1381
authorglepnir <glephunter@gmail.com>
Sun, 11 May 2025 11:48:33 +0000 (13:48 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 11 May 2025 11:48:33 +0000 (13:48 +0200)
commit5a18ccf49007481b1fffcf101e4ce0b36a2db241
treebc8bfd8f1f1e74922bf256cbdb40ab06700af648
parentd4110e06952be7d06ba39cf0434626bbd7301a9d
patch 9.1.1381: completion: cannot return to original text

Problem:  Cannot return to the original text after selecting the next
          item when the currently selected item is the last one.
Solution: When continuing to move down past the last item, locate the
          original completion at the head/tail nodes of the completed
          linked list (glepnir).

closes: #17300

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