Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thefallenidealist opened this issue Dec 17, 2016 · 0 comments
Open

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

thefallenidealist opened this issue Dec 17, 2016 · 0 comments

Comments

@thefallenidealist
Copy link

thefallenidealist commented Dec 17, 2016

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

  • OS:
    FreeBSD 11.0-RELEASE
  • Neovim version:
    0.1.6 # FreeBSD pkg
    v0.2.0-45-g7666b495
    v0.2.0-149-gaa4ef896 # todays source
  • Clang version:
    3.8.1
    3.7.1

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

  • Open the file
  • Write "str" as argument to "printr" function.
  • Wait a second or two
  • Write "i"

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:

  • there is no "// }" "// }}}" at the end of the class definition
  • there is no class declaration
  • "#define printr" is commented out
@thefallenidealist thefallenidealist changed the title Problem with vim's marks sign in C++ comments Problem with vim's mark signs in C++ comments Dec 17, 2016
@thefallenidealist thefallenidealist changed the title Problem with vim's mark signs in C++ comments Problem with vim's fold mark signs in C++ comments Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant