Vim7 - intellisense problem

2006-05-18 Thread Dan Clarke
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


Re: Indentations - possible Vim7 bug

2006-05-18 Thread Dan Clarke
The paste option isn't set.  If I set it, auto indentation doesn't work 
at all, and when I press 'control-v', it just pastes a caret character 
instead of what's in the clipboard.


- Dan




Eric Arnold wrote:

What's the value of your 'paste' option?

On 5/18/06, Dan Clarke <[EMAIL PROTECTED]> wrote:

Hi.  I've just installed Vim 7.  l use MS Windows.  I've found a
problems with the indentations.

You can replicate it by doing the following ...

- Copy a whole word into the clipboard.
- In a C/C++ file, position the cursor on a line of text that is 
indented.

- Press the 'o' key to go onto the next line in insert mode.
- (The next line should automatically be indented to match the previous
line).
- Now press control-v to paste the word from the clipboard.

In previous versions of Vim this pasted word would of appeared indented.
  In Vim7, for some reason the auto indentation seems to of been deleted.

Thanks,
- Dan






Indentations - possible Vim7 bug

2006-05-18 Thread Dan Clarke

Hi.  I've just installed Vim 7.  l use MS Windows.  I've found a
problems with the indentations.

You can replicate it by doing the following ...

- Copy a whole word into the clipboard.
- In a C/C++ file, position the cursor on a line of text that is indented.
- Press the 'o' key to go onto the next line in insert mode.
- (The next line should automatically be indented to match the previous
line).
- Now press control-v to paste the word from the clipboard.

In previous versions of Vim this pasted word would of appeared indented.
 In Vim7, for some reason the auto indentation seems to of been deleted.

Thanks,
- Dan