-
Notifications
You must be signed in to change notification settings - Fork 98
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
providing global .clang_complete file? #245
Comments
YCM has these for global conf which makes it a bit easier.
|
You have 2 options: Either create a .clang_complete file in your home directory for example, it will end up being used as a fallback. This may be a little hacky. Another good solution is to write a custom compilation database for this, it should be fairly straightforward, see documentation at Lines 50 to 78 in 3e9d37c
It's on my todo list to have something nice to do it but I haven't get to do it yet. |
Can you add a function for specifying global .clang_complete file? I'm fairly new to emacs and don't know a thing about lisp so I guess I would have to do it with home-directory method :/ |
For general completion when not using cmake as build system, or small 1-2 files autocompletion. YCM does this by providing a flag accepting location for global ycm_config file.
The text was updated successfully, but these errors were encountered: