Deoplete.nvim: Deoplete fails after using multiple-cursors

Created on 10 Feb 2016  路  4Comments  路  Source: Shougo/deoplete.nvim

After inserting text in a few lines multiple-cursors, pressing i fails with the following:

Error detected while processing function <SNR>160_completion_begin:             
line   27:                                                                      
E475: Invalid argument: Channel doesn't exist                                   

Anything I can do to debug this?

Thanks.

cannot reproduce needs reproduction instructions

Most helpful comment

Hm. I don't know the problem.
But multiple-cursors conflicts the auto completion plugin easily.
You should disable auto completion like this.

https://github.com/Shougo/neocomplete.vim/issues/394

function! Multiple_cursors_before()
    let b:deoplete_disable_auto_complete = 1
endfunction

function! Multiple_cursors_after()
    let b:deoplete_disable_auto_complete = 0
endfunction
``

All 4 comments

Hm. I don't know the problem.
But multiple-cursors conflicts the auto completion plugin easily.
You should disable auto completion like this.

https://github.com/Shougo/neocomplete.vim/issues/394

function! Multiple_cursors_before()
    let b:deoplete_disable_auto_complete = 1
endfunction

function! Multiple_cursors_after()
    let b:deoplete_disable_auto_complete = 0
endfunction
``

Thanks! That seemed to work.

I have the same error. I do not use multiple cursors. A file will work for a bit and then every character stroke inside insert mode will cause this error. Any idea on how to narrow down the problem?

@wavded Please create minimal init.vim less than 50 lines and upload the reproduce ways from neovim starting.
You should create another issue.

Was this page helpful?
0 / 5 - 0 ratings