Loading ...
Sorry, an error occurred while loading the content.

53687Re: [PATCH] :diffoff should not change settings for non-diff windows

Expand Messages
  • Lech Lorens
    Mar 5, 2009
    • 0 Attachment
      04-03-2009 Bram Moolenaar <Bram@...>:
      >
      > However, perhaps it should do this unconditionally for the current
      > window only. For other windows it makes more sense to check the 'diff'
      > option.
      >
      > > - if (wp == curwin || eap->forceit)
      > > + if (wp == curwin || (wp->w_p_diff && eap->forceit))
      >
      > How about that?

      Perfectly fine with me - I hardly ever use :diffoff without !, anyway.

      --
      Cheers,
      Lech

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 13 messages in this topic