When I try to set auto-completion for C using clang complete in vim, and still when I'm inside the .c file, I get auto-completion when I click ctrl+x,u. However, it only displays some characters.
None of the features included in the heading headers appear in the auto-complete popup. It seems that only typedefs are displayed?

The structure of the project is very simple:
$ tree -ap
.
โโโ [-rwxrw-r
โโโ [-rwxrw-r
โโโ [drwxrw-r
โโโ [-rwxrw-r
1 directory, 3 files
I tried to create a .clang_complete file inside a project folder containing the following:
-I/.../Libraries/xpSDK/CHeaders/XPLM
I double checked the path to XPLM headers and that is correct.
Any ideas on something wrong?
source
share