Christian Brabandt wrote: > On Di, 07 Mär 2017, Christian Brabandt wrote: > > > I believe this comes from the newly generated opt_test.vim script. > > Setting verbosefile=xxx will make Vim write out that file. > > Please apply the attached patch > > Here is an updated patch. Changes to the previous version: > 1) it fixes a stupid syntax error (missing apostrophe in previous > version) > 2) moves the logic to delete the verbosefile after that option has been > reset
I removed the "if" for this, delete() is silent when the file doesn't exist. > 3) indents the various if/endif combinations > 4) gets rid of the if exists("+option")|endif variations. Seems harmless though. The previous updated wasn't actually work, it silently skipped over generating opt_test.vim. Should be fixed now. -- ASCII stupid question, get a stupid ANSI. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.