Closed Lauchmelder23 closed 3 weeks ago
What's your confirm mapping? Like inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
I mapped it to Tab using the instructions from the FAQ https://github.com/neoclide/coc.nvim/wiki/F.A.Q#how-to-use-the-tab-key-in-insert-mode-to-jump-directly-outside-pairs-of-symbols-like--
I also remember this having worked in the past. Perhaps it is a change in neovim itself? I could try using the latest stable neovim version and see if that fixes it
Indeed this fixed it. Using neovim 0.10.0 the problem disappears. Something must have changed in neovim's development branch that breaks autocompletion from some sources
Result from CocInfo
Describe the bug
When the completion suggestion menu is open and a completion is selected, it is not inserted if the completion comes from one of these sources:
However, completions coming from sources like [TSC] work just fine. Because of this I cannot expand suggestions for string completion. The completion menu simply closes and nothing is inserted
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't reproduce it
Create file
mini.vim
with:Start (neo)vim with command:
vim -u mini.vim
Operate vim.
Screenshots (optional)
None