Vim syntax/compile-time error highlighting
- by Tim Nordenfur
Is there a Vim script that periodically tries to compile/interpret the code that I'm working on, and highlights syntax errors? I'd like it to point out that something is wrong between these lines:
int a = 42
cout << a << endl;
Such a thing would save me loads of time. I'm primarily searching for a Perl-syntax checker, but I'd also be interested in similar plugins for other languages.
Update: Another error I'd like it to point out:
int a == 42;
cout << a << endl;