You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
Save the following file as a repro.vim.
setnocompatiblelaststatus=2cmdheight=2" Please prepare dependencies in the current directory or specify the path to" those plugins." - 'vim-denops/denops.vim'" - 'Shougo/ddc.vim'" - 'Shougo/ddc-matcher_head'" - 'Shougo/ddc-sorter_rank'" - 'Shougo/neco-vim'setruntimepath+=denops.vim,ddc.vim,ddc-matcher_head,ddc-sorter_rank,neco-vim" Register a lot of functions.foriinrange(20000)
function! ASDF{i}() abortendfunctionendforcallddc#custom#patch_global('sourceOptions', {
\ '_': {
\ 'matchers': ['matcher_head'],
\ 'sorters': ['sorter_rank'],
\ },
\ })
callddc#custom#patch_filetype(['vim'], 'sources', ['necovim'])
" This manual completion is not requiredinoremap<silent><expr><C-Space> ddc#manual_complete()callddc#enable()
How to reproduce the problem from neovim/Vim startup (Required!)
Prepare dependencies
gvim -u repro.vim test.vim
:set ft=vim
Type call exp in insert mode and wait for compleion (or press to force completion).
You'll see error message as below and no completions show up.
:message to see complete error messages.
Screenshot (if possible)
Very long error messages show up like below.
The text was updated successfully, but these errors were encountered:
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): 80c5f2e
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 to force completion).:message
to see complete error messages.Screenshot (if possible)
Very long error messages show up like below.
The text was updated successfully, but these errors were encountered: