Hi there

When editing some .cc files (no apparent pattern), I seem to get some weird can't-be-turned-off red highlighting. Some code snippet:


      1 int main()
      2 {
      3     if (1=1)
      4         [
      5             fail.push_back(students[i]);
      6     else
      7             pass.push_back(students[i]);
      8 }

without the [ on line 4, everything is colour-free.

As soon as I put the [ in line 4, the ;'s on line 5 & 7 as well as the } on line 8.

And sometimes, when I edit a file, the last } in the file is highlighted with the same colour, again no apparently pattern that I can spot.

As far as I'm aware, I haven't turned on any special matching highlights. I've tried doing "match none" to no avail.

Can any one direct me to some info on what kind of highlighting uses this please?

Before I forget, I run:

Vim 6.4
Konsole
Kubuntu 6.06

Thanks in advance
Johnathan

Reply via email to