]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1121: Enter does not insert newline with "noselect" v9.1.1121
authorglepnir <glephunter@gmail.com>
Tue, 18 Feb 2025 19:27:30 +0000 (20:27 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 18 Feb 2025 19:27:30 +0000 (20:27 +0100)
commit07f0dbe3aa326fdf4d0f1b1cf7d79df89e91fc6e
tree78af7dff178c49609465f20e0cd4a227f0d25cf1
parentee1a24b21d10903ee4369d1df514af9eb4c400a6
patch 9.1.1121: Enter does not insert newline with "noselect"

Problem:  Enter does not insert newline with "noselect" when the pum is
          visible (lifepillar)
Solution: When Enter is pressed and no complete-item is selected,
          ins_compl_prep returns false, and the edit function continues
          processing Enter to insert a new line. (glepnir)

fixes: #1653
closes: #16653

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