Rip-Rip/clang_complete — Issue #88: clang_complete and supertab plugin
Author: ranousse
Created: 2011-10-09 12:04:11+00:00
State: open

I wanted to use clang_complete with supertab plugin. And until now I thought it worked very well.

I have
let clang_complete_auto=0
(just because I use libraries that cause completion to be to slow)
And I my config of supertab plugin is
call SuperTabSetDefaultCompletionType('')
(so now when I press tab it is except when there is a space before the cursor)

Most of the time it works very well.

But I've just noticed a problem with

struct Test
{
int a;
}

int main()
{
Test aTest;
}

Now on the second line of main I type
aT .
The first tab cause the completion
aT => aTest
but then
aTest. does not complete.
However
aTest. works.

I type
aTest entirely without using completion, the completion after . works too.

So my question is the following, is supertab supposed to work with clang_complete.
Is the previous problem a bug or just an incompatibility between the 2 plugins.

(I also have let clang_use_library=1 but I guess it's not important here)