Am Freitag 09 Februar 2007 schrieb Frodak:
> --- Martin Krischik wrote:
> > Hello,
> >
> > I often use little vim scripts using "vim -E". Now
> > like all executable
> > vim will return a result code after execution.
> >
> > And it is often "false" which I don't want. Does
> > anybody know how to
> > influence the return value from "vim -E"?
> >
> > Martin
> > --
> > Martin Krischik
> > mailto://[EMAIL PROTECTED]
>
> The exit code of 0 means that no errors occurred
> during that vim session.

Ahh, so i guess I have to plaster the scripts with "silent" and allways 
use "s/.../.../e".

> If you want vim to return a non-zero exit code then
> try to perform a command that does not exists and then
> when you quit vim will return a non-zero value.

I must have been unclear here: I want the zero return code.

Martin

-- 
Martin Krischik
mailto://[EMAIL PROTECTED]

Attachment: pgpvoQjDRPe7j.pgp
Description: PGP signature

Reply via email to