Closed statiolake closed 3 years ago
It seems denops error. It is hard to debug for me.
It is reproduced in Windows environment. Not reproduced in Linux.
I have analysed the error. It is from channel JSON RPC. It cannot be fixed in denops side.
I have added the filter for neco-vim. Please update neco-vim to the latest.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
When there're a lot of functions registered in Vim, triggering completion causes error
Failed to parse received text '...': Syntax Error: Unexpected token i in JSON at position 65540
. (Actually '...' is received JSON. The position or exact error message may differ, but error position is around 65000-. The shown received JSON seems incomplete.)Expected
ddc.vim normally shows completion list.
Environment Information
ddc version (SHA1): 80c5f2e792ccea1c8582759c026c9b5e957c6eb4
OS: Windows 10 20H2 19042.1165
neovim/Vim
:version
output::checkhealth
or:CheckHealth
result(neovim only):Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
Save the following file as a repro.vim.
How to reproduce the problem from neovim/Vim startup (Required!)
gvim -u repro.vim test.vim
:set ft=vim
call exp
in insert mode and wait for compleion (or press:message
to see complete error messages.Screenshot (if possible)
Very long error messages show up like below.