Vim syntax/compile-time error highlighting
Posted
by
Tim Nordenfur
on Stack Overflow
See other posts from Stack Overflow
or by Tim Nordenfur
Published on 2011-03-11T07:41:44Z
Indexed on
2011/03/11
8:10 UTC
Read the original article
Hit count: 190
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;
© Stack Overflow or respective owner