Tony Mechelynck wrote: > On Fri, Feb 19, 2016 at 11:23 AM, mattn <[email protected]> wrote: > > On Friday, February 19, 2016 at 7:21:37 AM UTC+9, Bram Moolenaar wrote: > > > >> Seems like a nice idea. > >> > >> How about writing the help for it and sending it here for a review > >> round? > > > > I updated patch. > > > > https://gist.github.com/mattn/ca264155959f476bc8dd > > For backward compatibility, script authors wanting to use this new > feature should of course check ":if exists(':mapgroup') == 2" (or > maybe "if has('mapgroup')" if a feature of that name is also defined), > and avoid using not only :mapgroup but also :mapclear-within-a-group > if the feature is not present. > If one wants to use it even in Vim builds compiled with -eval (which > don't have :try, and where :if ... :endif is a nestable comment) > something else will have to be found.
Right, please add this explanation to the docs. We don't want a plugin to delete random mappings :-). -- Even got a Datapoint 3600(?) with a DD50 connector instead of the usual DB25... what a nightmare trying to figure out the pinout for *that* with no spex... /// Bram Moolenaar -- [email protected] -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
