Saturday, August 22, 2009

Re: goto line depending on exit code of filter

On Sat, 22 Aug 2009, Jürgen Krämer wrote:
> have a look at
>
> :help v:shell_error
>
> This variable holds the result of the last shell command.

Thanks for help. Excuse me for being dense. How to write a vimscript
command to jump to line number v:shell_error?

:if v:shell_error do.
: (jump to the error line)
:else
: (jump to the previous current line)
:end


--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment