Hi,

> > > Any thoughts on this?
> > 
> > How about using an OptionSet autocommand?  I haven't tried this:
> > 
> >      au OptionSet diff if &diff | setlocal syn=OFF | endif
> 
> In some but not in all cases.  For example, if I run vimdiff as part
> of the "git difftool" command, the OptionSet autocommand is not
> triggered.
> 
> I also tried BufWinEnter, but it didn't help.

I have the same problem in my plugin, https://github.com/rickhowe/diffchar.vim.
I am now trying to follow the internal diff using OptionSet. As for vimdiff, 
using VimEnter and checking &diff in all windows seems to work fine.
I would like to know a better idea if any.

> Regards,
> Gary

Regards,
Rick

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