Rick Howe wrote:

> > Using FilterWritePost was already a bit of a hack.  Let's add an event
> > specifically for diffs being updated.
> 
> A 'diffupdate' specific new event would be a solution.
> But we have to still check OptionSet as well for something like
> 'diffthis' and 'set nodiff'.
> Is it possible and reasonable to use OptionSet even for 'diffupdate'?
> For example, with v:option_old = '1' and v:option_new = '1'.

It will also trigger for :diffthis.  Not for "set nodiff", since that
doesn't update diffs, like the FilterWritePost event also didn't.

With internal diff it will trigger more often, e.g. when deleting a
word or undo/redo

-- 
hundred-and-one symptoms of being an internet addict:
74. Your most erotic dreams are about cybersex

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

Raspunde prin e-mail lui