Kana Natsuno wrote:

> When I wrote some Vim scripts to implement new motions and new text
> objects, I noticed that there is no way to check whether the type of a
> motion is forced or not. (e.g. :help o_v is given or not)
> 
> I wrote a patch to add the variable v:motion_force which contains the
> information about this problem.  See the attached file for the
> details.  Please include this patch if it is useful for other users.

Yes, this sounds useful.  Thanks for making the patch.

I wonder if the name "v:motion_force" is the best choice.  Does someone
know a better name?

-- 
-rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
-rwxr-xr-t  4 root      131720 Jan  1  1970 /usr/ucb/vi
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui