In C, YouCompleteMe could autocomplte the function if I include the header file in code:

enter image description here

I want it work like C, when I write Go code and include the C header file in cgo:

enter image description here

So, how should I config YouCompleteMe? thx.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.