[vim/vim] When both `autocomplete` and `preinsert` are enabled, it may occasionally hinder normal input. (Issue #19328)

1 view
Skip to first unread message

Mao-Yining

unread,
4:24 AM (15 hours ago) 4:24 AM
to vim/vim, Subscribed
mao-yining created an issue (vim/vim#19328)

Steps to reproduce

vim --clean -c "se ft=vim wildoptions=fuzzy completeopt=preinsert autocomplete complete^=o | call feedkeys('ise y', 'nr')"

In feedkeys, I type se y but exactly input se k due to the preinsert.

I use complete^=o just because it will return very much sources.

What's more, if ignorecase infercase is set, sometimes when I type a small 'v' it will become a 'V' due to preinsert.

cc @girishji

Expected behaviour

let the examples' result is se y

Version of Vim

9.1.2081

Environment

Windows 11
And I tested it is also exists on msys2

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19328@github.com>

Mao-Yining

unread,
4:43 AM (15 hours ago) 4:43 AM
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#19328)

And

vim --clean -c "se ft=vim ignorecase infercase completeopt=preinsert autocomplete complete^=o | call feedkeys('iv', 'nr')"

There will be a V in buffer.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19328/3846379021@github.com>

Reply all
Reply to author
Forward
0 new messages