Thursday, March 31, 2011

Re: What is supposed to happen if there is an error in a vim script?

On Thu, March 31, 2011 9:52 am, Ben Schmidt wrote:
> Note that mappings abort on error, though. I think other commands like @
> might,
> too. Since both these can actually run scripts, one way or another, it
> somewhat
> depends in what context your script is running how errors are handled. To
> be sure
> how things will work, use :try.

True. Didn't think about mappings.

regards,
Christian

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment