> I use vim on Mac, Linux, Windows with versions 6 and 7.:echo exists(':diffoff')
> :diffoff! works with version 7 but does not exist in version 6.
> Currently I do this:
> function! DiffOff()
> Is there a way to specifically check for the existence of :diffoff! ?
> And is this function sufficient?Additionally check if the window is really in diff mode:
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.