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

How to enable clang complete async only for C or C++ mode? #55

Open
yuezhu opened this issue Sep 17, 2013 · 0 comments
Open

How to enable clang complete async only for C or C++ mode? #55

yuezhu opened this issue Sep 17, 2013 · 0 comments

Comments

@yuezhu
Copy link

yuezhu commented Sep 17, 2013

In your setup guide, clang complete async is activated when c-mode-common-hook executes. This causes clang complete async to be incorrectly activated in other modes that are submodes of cc-mode, like java-mode. I was trying to place the ac-cc-mode-setup in c++-mode-hook. It works without problem when I directly opened a C++ source file, but fails to work when I created a new C++ source file in Emacs.

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

1 participant