Open hexium310 opened 1 year ago
I have a similar issue I get mp.utils.feedkeys.call.run(...)
inserted when scrolling the mouse wheel in insert mode on an empty buffer. With vim.o.mouse = 'nv'
Going back to a9c701fa7e12e9257b3162000e5288a75d280c28 fixes the issue, going to e55033f makes it reappear.
I have similar issue with nvim-cmp while jumping through loclist in insert mode:
inoremap <m-up> <c-o>:lprev<cr>
inoremap <m-down> <c-o>:lnext<cr>
sometimes appears garbage like
(358)
(360)
.feedkeys.call.run(287)
.utils.feedkeys.call.run(289)
u.feedkeys.call.run(194)
deys.call.run(196)
ddys.call.run(199)
kdll.run(124)
deys.call.run(126)
d v:lua.cmp.utils.feedkeys.call.run(129)
lua.cmp.utils.feedkeys.call.run(61)
kddkeys.call.run(63)
More offten this happends at ends of loclist when lprev/lnext prints 'No more items'.
I found the solution here:
https://github.com/hrsh7th/nvim-cmp/issues/2033#issuecomment-2448135783
FAQ
Announcement
Minimal reproducible full config
Description
I make
registers.nvim
load (and then its window opens) when pressing<C-r>
in insert mode. When pressing<C-r>
,call v:lua.cmp.utils.feedkeys.call.run(2)
is inserted into a current buffer but the window isn't open. The plugin is loaded.This issue doesn't appear using
registers.nvim
andnvim-cmp
only. I checked to see which plugins affect this issue, it seems to be caused by usingcmp-buffer
orcmp-path
together. In addition according togit bisect
, it seems that this issue has appeared since e55033f`.Plugins: Shougo/dein.vim tversteeg/registers.nvim
Steps to reproduce
<C-r>
Expected behavior
The
registeres.nvim
window opens.Actual behavior
all v:lua.cmp.utils.feedkeys.call.run(2)
is inserted into a current buffer and theregisteres.nvim
window doesn't open (I don't know why it iscall
in the config I usually use butall
in the minimal config).Additional context
Lazy-loading when entering insert mode (
InsertEnter
) instead of pressing<C-r>
stops this issue from appearing.