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