Rick Howe wrote:
> I found an error on patch 8.0.0736.
> With the following sample function,
> 'diffthis' and 'diffoff' will cause
> "E788: Not allowed to edit anoter buffer now"
> on 'wincmd'.
>
> augroup xyz
> au!
&g
Hello,
I found an error on patch 8.0.0736.
With the following sample function,
'diffthis' and 'diffoff' will cause
"E788: Not allowed to edit anoter buffer now"
on 'wincmd'.
augroup xyz
au!
au OptionSet * call XYZ()
augroup END
functi
Patch 8.0.0736
Problem:The OptionSet autocommand event is not triggered when entering
diff mode.
Solution: use set_option_value() instead of setting the option directly.
Change the tests from old to new style. (Christian Brabandt)
Files: src/diff.c, src/testdir