In my workplace, our coding standard states that we have to declare our variables on the next line from the variable type. The intellisense in vim7 doesn't work when it's like this.

For example ...


typedef struct
{
        int
                i;
}my_structure;

void main (void)
{
        my_structure
                var1;

        my_structure var2;

        var1.    <-------- this doesn't work
        var2.    <-------- this does work
}



I guess we're not the only place that declares variables over multiple lines.

Any way I can get around this? Would be really nice to get intellisense working for our projects.

Cheers,
- Dan

Reply via email to