On Mon, Oct 17, 2016 at 02:37:02AM -0700, Igor Forca wrote: > Hi, I have found out a solution without while loop. So in indent.vim > replace all from "execute" to the EOF with: > > :silent g/(SELECT\c/normal! v%2> > > Problem solved. > > P.S. It would still be nice to have some reference to documentation > how to handle the error codes.
The best way to handle errors is with :try/:catch. Good luck with future scripting, -Bryan -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Description: Digital signature