[vim/vim] With cot+=noselect, <Enter> does not start a new line when it should (#1653)

15 views
Skip to first unread message

Lifepillar

unread,
Apr 23, 2017, 11:46:53 AM4/23/17
to vim/vim, Subscribed

Open a buffer, set its filetype to vim and add noselect to completeopt. Then type cp<c-x><c-v>f<cr>. The cursor stays in the same line. If I understand :h ins-completion-menu correctly, right before pressing <cr> Vim should be in the third state, hence a new line should be inserted.

Note that cp<c-x><c-v><cr> (note the missing f) starts a new line as expected.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Reply all
Reply to author
Forward
0 new messages