v:event.size
is 0 in CompleteChanged event if ext_popupmenu is used
#20646
Labels
bug
issues reporting wrong behavior
completion
Nvim built-in (omni)completion
complexity:low
Low-risk, self-contained. Do NOT ask "can I work on this", just read CONTRIBUTING.md
events
events, autocommands
ui-extensibility
UI extensibility, events, protocol
Neovim version (nvim -v)
v0.9.0-dev-82-g0ef6aaa3a7
Vim (not Nvim) behaves the same?
N/A
Operating system/version
Arch Linux
Terminal name/version
N/A
$TERM environment variable
N/A
Installation
build from repo
How to reproduce the issue
:let g:sizes = []
:autocmd CompleteChanged * let g:sizes += [v:event.size]
i<C-X><C-V><Esc>
:echo g:sizes
Expected behavior
A list with two non-zero values is printed
Actual behavior
[0, 0]
is printedThe text was updated successfully, but these errors were encountered: