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

Could not load source: deoplete_clang. #78

Closed LKlemens closed 6 years ago

LKlemens commented 6 years ago

Problems summary

I've installed all dependents (py2, py3 , clang etc) but as soon as I open up nvim I get this error:

[deoplete] raise Exception("Only Python 2 is supported.")
[deoplete] Exception: Only Python 2 is supported.
[deoplete] Could not load source: deoplete_clang. Use :messages for error details.

Expected

Would be great when completion for cpp will work.

Environment Information

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

" Your minimal init.vim
set runtimepath+=~/.config/nvim/plugged/deoplete.nvim/
set runtimepath+=~/.config/nvim/plugged/deoplete-clang/
let g:deoplete#enable_at_startup = 1

The reproduce ways from neovim starting (Required!)

  1. add deoplete.nvim and deoplete-clang to runtimepath through init.vim
  2. start nvim

Log file

py3_rplugin.txt

Shougo commented 6 years ago

Neovim version: 0.1.7

It is too old. Please use the latest version.

LKlemens commented 6 years ago

Hi, you had right , latest neovim helped. Thank you very much :) I have one more question. Deoplete shows me very long list of C's preprocessors which is very annoying , because I cannot see what methods are at object ;( Can I trigger deoplete to shows only fileds and methods ? I use clang 3.4 (another versions didn't work). Thanks in advance !

Shougo commented 6 years ago

Sorry, it is not supported. You can create the filter for it.

:help deoplete-create-filter