completion-nvim
completion-nvim copied to clipboard
Some typed chars are not used when filtering completions.
My testing minimal init.vim
call plug#begin('~/.local/share/nvim/plugged')
Plug 'neovim/nvim-lsp'
Plug 'haorenW1025/completion-nvim'
call plug#end()
lua require'nvim_lsp'.pyls.setup{on_attach=require'completion'.on_attach}
set completeopt=menuone,noinsert,noselect
How to reproduce
This is timing issue. Open some python file, enter insert mode and start typing pr. If you type it fast enough you end up with completions for p instead of pr (it stays that way until you for example remove r and type it again).

If you type slow enough it works as expected.

Expected behavior All typed characters should be used for filtering completions.
Should be fixed, please update and check!
Updated but the issue still exists.
I'm trying to resolve this today but this seems very weird... Might need some time to figure it out.