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

Some problems about completing CPP files #261

Open
ZhuJiaYou opened this issue May 8, 2019 · 2 comments
Open

Some problems about completing CPP files #261

ZhuJiaYou opened this issue May 8, 2019 · 2 comments

Comments

@ZhuJiaYou
Copy link

Hi, @maralla
I've used Completor for a period of time in VIM 8.1 on Linux Mint 19.1. And it works well with Python files.
But I've got some problems with CPP files.
I've installed clang6.0 and added let g:completor_clang_binary = '/usr/bin/clang' in my .vimrc file, besides, I've added -std=c++11 in .clang_complete in the path ~/.vim/pack/completor/start/completor.vim/ to support c++11.

  1. It seems like that there're no completion candidates for include files, such as iostream, stdio.h and so on.
    include
  2. There're no completion candidates for some c++11 key words such as decltype, noexcept, but there're some such as auto.
    dec

I'm wondering whether my configrations are not correct, or there're some bugs??

@ZhuJiaYou
Copy link
Author

In addition, it seems like that there're no completion candidates for many key words in C/C++, such as private, protected, typedef, typename, switch and so on.

@maralla
Copy link
Owner

maralla commented May 10, 2019

I pushed a commit to enable some item completions, but there are still some items can not be completed. The cpp completer needs to be improved of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants