On Mar 18, 2012, at 6:16 PM, "Benjamin R. Haskell" <[email protected]> wrote:

> On Sun, 18 Mar 2012, David Fishburn wrote:
> 
>> I will also add this to the YankRing plugin (script #1234).
>> 
>> I don't se the patch # to put a conditional check in for it.
> 
> It hasn't been applied yet, but you shouldn't check by patch # anyway. 
> exists() can detect whether an autocommand for a particular event is 
> supported.  Use:
> 
> exists('##TextDeleted')
> 
> and
> 
> exists('##TextYanked')
> 
Perfect thanks Ben. 

--
David Fishburn

-- 
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

Raspunde prin e-mail lui