GREAT !
thank you it works just fine.
Lionel
@ 14:58 04/04/2007, >>>Yakov Lerner<<< Wrote ------------------------:wq!
On 4/4/07, Lionel Flandin <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm trying to find the command that would find the next error in a file.
For instance the following code contains a typo, how can one find it ?
-------------------------------------------------
#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello world!\n");
] // <- Here it is :-), vim detects it and makes it red
return 0;
}
-------------------------------------------------
This seems to be a recurring request. In the past, I
I posted to this list a vimscript function that does it. I made it into
small plugin:
http://www.vim.org/scripts/script.php?script_id=1851
SearchSyntaxError : search for the next syntax error detected
by the vim highlighting mechanism
The usage is very simple:
command :ERR searhes for the next syntax error, or <Ctrl-K><Ctrl-E>
That's it.
Yakov