http://qs321.pair.com?node_id=1006536


in reply to On the fly syntax checkers in emacs, ultraedit or vi

When syntax coloring is turned on, vim will (on my system, at least) flag invalid syntax with white text on a red background. OTOH, your example isn't what I would call a syntax error. By misspelling the variable name ($namw) in the second line, the third line appears to use an undeclared variable, which vim won't catch.