deoplete-plugins / deoplete-clang

deoplete.nvim source for C/C++/Obj-C/Obj-C++ with clang-python3
MIT License
189 stars 73 forks source link

Problem with vim's fold mark signs in C++ comments #70

Open thefallenidealist opened 7 years ago

thefallenidealist commented 7 years ago

Problems summary

deoplete-clang will report:

Error detected while processing function 38_completion_delayed[4]..38_completion_begin: line 28: E475: Invalid argument: Channel doesn't exist

Expected

Normal deoplete-clang suggestion.

Environment Information

Provide a minimal init.vim with less than 50 lines and not plugin manager (Required!)

call plug#begin('~/.vim/plugged')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-clang'
call plug#end()

let g:deoplete#enable_at_startup = 1

let g:deoplete#sources#clang#libclang_path = "/usr/local/llvm38/lib/libclang.so"
let g:deoplete#sources#clang#clang_header  = "/usr/local/llvm38/include/clang"

The reproduce ways from neovim starting (Required!)

C++ example which will trigger the error: http://pastebin.com/NrPE1k7T

Screen shot (if possible)

Don't work:

Works:

Upload the log file

:messages Error detected while processing function 38_completion_delayed[4]..38_completion_begin: line 28: E475: Invalid argument: Channel doesn't exist Error detected while processing function 38_completion_delayed[4]..38_completion_begin: line 28: E475: Invalid argument: Channel doesn't exist Error detected while processing function 38_completion_delayed[4]..38_completion_begin: line 28: E475: Invalid argument: Channel doesn't exist Error detected while processing function 38_completion_delayed[4]..38_completion_begin: line 28: E475: Invalid argument: Channel doesn't exist Error detected while processing function 38_completion_delayed[4]..38_completion_begin: line 28: E475: Invalid argument: Channel doesn't exist

Possible fix:

I have noticed that problem would not appear if: