Re: [PATCH v2 0/9] mergetools: vimdiff: regression fix and reorg
On Sun, Aug 7, 2022 at 1:39 PM Fernando Ramos <greenfoo@u92.eu> wrote:
> On 22/08/07 10:39AM, Felipe Contreras wrote:
Show 7 quoted lines
> > To me if I configure "BASE,MERGED" and I close the first window, I
> > should end up with the same view as "MERGED", but I don't, which is
> > why I fundamentally don't like this layout approach.
>
> This won't work. Not even after the fix. If you want to modify the layout (ex:
> by closing a window) vim won't automatically update the list of buffers to
> consider for the diff.
Of course it works:
vim -d -c 'set hidden diffopt=internal' BASE MERGED
Close the first window and the diff colors remain.
vim doesn't need to update the list of buffers.
--
Felipe Contreras