-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
deoplete-clang get errors #59
Comments
@andrea993 Thanks issue :) Hmm.. I have not yet debug, will check it. |
I have this issue with all .cpp files
If. for example. I go at the end of |
@andrea993 I think your problem same as #54 |
|
Rather than creating another issue, this issue seems to be similar if not the same. I do not know what the compilation database file is, @Shougo, where would this file be located? Minimal " init.vim
" dein plugin manager
function! InstallPluginManager()
echom 'Installing dein...'
silent! call mkdir($XDG_CONFIG_HOME . '/nvim/dein', 'p')
silent! execute '!curl --fail --location --output /tmp/dein.sh '
\ . 'https://raw.githubusercontent.com/'
\ . 'Shougo/dein.vim/master/bin/installer.sh'
silent! execute '!sh /tmp/dein.sh ' . $XDG_CONFIG_HOME . '/nvim/dein'
endfunction
if !filereadable($XDG_CONFIG_HOME . '/nvim/dein/'
\ . 'repos/github.com/Shougo/dein.vim/autoload/dein.vim')
call InstallPluginManager()
endif
set runtimepath+=$XDG_CONFIG_HOME/nvim/dein/repos/github.com/Shougo/dein.vim
call dein#begin($XDG_CONFIG_HOME . '/nvim/dein')
call dein#add('Shougo/dein.vim')
call dein#add('Shougo/deoplete.nvim')
call dein#add('zchee/deoplete-clang')
call dein#end()
if dein#check_install()
call dein#install()
endif
filetype plugin indent on
syntax enable
call deoplete#enable()
autocmd CompleteDone * pclose The test file I used was: // test.cc
#include <vector>
std As typing the
|
Hm. It is not specified. let g:deoplete#sources#clang#libclang_path = '/usr/lib/libclang.so' |
Indeed, This is a standard place for the library to be located, and certainly should be in the library path. I will try the minimal configuration with the path hardcoded as suggested and get back to you. |
Unfortunately, it is not standard. let g:deoplete#sources#clang#libclang_path = '/usr/lib/llvm-3.8/lib/libclang-3.8.so' |
Yep correcting this has solved my issue. However the moment I start typing |
Yes, deoplete-clang has many performance problems. |
I'm also having a similar problem, can we just get deoplete-clang to ignore lines that start with '#'? (or have an option for that) |
I have the same issue (I think?) but setting Is there something I can try to provide you with more debug information? |
I have the same problem. Any update on the issue? |
You should use deoplete-clang2 instead. |
Why is there a second deoplete rather than a second version? |
Because, @zchee implements the new version of deoplete-clang. |
Hmm, fair enough, couldn't we just have branches to facilitate visibility and merging? Deoplete is an awesome plugin, I'd hate to see two parts diverge and end up with incompatible features. |
@Cypher1 I think there's a misunderstanding (from the eyes of a complete outsider). Deoplete is a separate project from deoplete-clang. Deoplete stays as is. However, deoplete-clang had too high code complexity (it seems) and now there's going to be deoplete-clang2. But regardless of the above, I would also like to see deoplete-clang2 replace deoplete-clang (become version 2). IMHO there's no point in having deoplete-clang if it's full of bugs and nobody is maintaining it. |
This is going to add to the confusions of users unless someone actually write this on the main README… |
I just tried deoplete-clang2 (https://github.com/tweekmonster/deoplete-clang2) and it worked great, without any issues. |
Yes.
I like deoplete-clang than deoplete-clang2. |
Hi! Have you an idea? Thanks. |
You should create new issue in deoplete-clang2. |
Deoplete-clang doesn't work I get this error when it should complete the cpp syntax:
:messages
says:this is my init.vim
https://arin.ga/pN1SjM
The text was updated successfully, but these errors were encountered: