Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

delete SwapBRP autocommand group #22

Merged
merged 2 commits into from

2 participants

@coot

When SwapBRP is left one cannot recover subsequent swap files.

@chrisbra
Owner

I don't think this is correct. This would delete the autocommand group even when it just was defined. What problem is this trying to solve?

@coot
@chrisbra
Owner

Looks good. I include it.

Thanks for contributing.

@chrisbra chrisbra merged commit 37aa26e into from
@coot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 12, 2013
  1. @coot
Commits on May 13, 2013
  1. @coot

    remove SwapBRP

    coot authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  autoload/recover.vim
View
1  autoload/recover.vim
@@ -80,6 +80,7 @@ fu! s:CheckRecover() "{{{1
" can trigger SwapExists autocommands again!
call s:SetSwapfile()
endif
+ call recover#AutoCmdBRP(0)
else
echo "Found Swapfile '". b:swapname. "', showing diff!"
call recover#DiffRecoveredFile()
Something went wrong with that request. Please try again.