Loading ...
Sorry, an error occurred while loading the content.

134742Customized command error handling?

Expand Messages
  • Techlive Zheng
    Nov 27, 2012
      I know we can use `try..catch` structure to customize error handling in scripts,
      but is there any way to catch an error of user executed command not scripts?

      E.g. if the last file in the argulist has not been edited, then executing `quit` command would fail with error "E173: * more file to edit", is it possible to catch such an error and do something with it int the script?

      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