Kyku wrote:
Changing SuperTab.vim fixed the problem, thank you very much. I have one
more problem with omnicomplete usability. Given the following snippet,
it completes the SC-xC-ocreen( function but refuses to complete after
p.WC-xC-oidth in main().
#include iostream
// A nonsense
Kyku -
In fact, it is a C++ program, as #include iostream might suggest. The
comment should say A nonsense C++ file, sorry. In C++ one doesn't need
to write 'class', 'struct' or 'union' in variables definitions. Do you
also mean that ccomplete doesn't support C++ yet? 10e15 C++ users in
Ok, using the old saying Use the force, read the source I browsed
ccomplete.vim a little. If I knew Vim scripting a little, I'd do the
following:
After line 406:
if we're dealing with C++ file:
if item['kind'] is 'c', 'u' or 's':
kind2name = {'c': 'class', 'u': 'union', 's':
Kyku -
I wrote this pseudo-code ONLY for C++/./ If we're not dealing with C++
then the code simply doesn't execute, and you get the old behavior, so
the completion WILL FAIL in C.
Defining variables only with type name (and without 'struct' keyword
before this type name) is a
Take a look at SuperTab plugin.
It catches the c-x and offers you all kind of completions. You'll
have to modify it to offer you c-o. It worked for me
HTH,
On 4/23/06, Kyku [EMAIL PROTECTED] wrote:
Hello all,
My main problem is that, well, it doesn't work. I've followed
instructions in
Search on sourceforge doesn't turn up anything for that name.
On 4/23/06, Raimon Grau [EMAIL PROTECTED] wrote:
Take a look at SuperTab plugin.
It catches the c-x and offers you all kind of completions. You'll
have to modify it to offer you c-o. It worked for me
HTH,
On 4/23/06, Kyku
Rehi,
Changing SuperTab.vim fixed the problem, thank you very much. I have one
more problem with omnicomplete usability. Given the following snippet,
it completes the SC-xC-ocreen( function but refuses to complete after
p.WC-xC-oidth in main().
#include iostream
// A nonsense C file.