Bos, Eric (Contractor) wrote:
I just tried omnicompletion for the first time (vim70 on winXP).
In a C++ file, I entered mC, and it started looking fo r things starting
with capital M, i.e. MC. This is a problem in itself since C++ is case
sensitivie.
Mor annoyingly, I hit delete to go back to that 'M' and make it an 'm'.
Vim then went into an endless loop trying to list everything in my sytem
starting with 'M'. I have 250,000 lines of code indexed via ctags (I
presume completion uses the same mechanism as the tags functionality).
In any case, after looking at a frozen vim for a few minutes, I realised
it was never going to come back to me. At that stage even killing vim
was hard. I really think this needs looking at.
Cheers.
Eric Bos, Contractor (Software Development).
SLEW Group, EWRD, DSTO Edinburgh, South Australia Ph 8259-4264, Mob 041
8388 547
IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
CRIMES ACT 1914. If you have received this email in error, you are
requested to contact the sender and delete the email.
I'm not very familiar with this aspect of omni-completion; but are you
sure you have 'ignorecase' off? To check it, make your C++ file active
(move the cursor to it) and enter
:verbose set ignorecase?
Vim should answer "noignorecase" and the place (if any) where the option
was last changed. Don't forget the question mark at the end, otherwise
you would set 'ignorecase' unconditionally ON.
Best regards,
Tony.