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.


-- 
To Vim, or not to Vim.
kana <http://whileimautomaton.net/>

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

Attachment: vim-motion_force.patch
Description: Binary data

Raspunde prin e-mail lui