chrisbra / Recover.vim

A Plugin to show a diff, whenever recovering a buffer
http://www.vim.org/scripts/script.php?script_id=3068
247 stars 25 forks source link

Default dialog on "Diff" #16

Closed rking closed 11 years ago

rking commented 11 years ago

When another vim has the file open, and you choose "[D]iff", the newcomer vim still goes through the default vim swpfile dialog.

chrisbra commented 11 years ago

On Tue, October 23, 2012 23:46, ☈king wrote:

When another vim has the file open, and you choose "[D]iff", the newcomer vim still goes through the default vim swpfile dialog.

I see the problem, it's a typo.

Try this patch: diff --git a/autoload/recover.vim b/autoload/recover.vim index 7e3afca..adcd55b 100755 --- a/autoload/recover.vim +++ b/autoload/recover.vim @@ -128,7 +128,7 @@ fu! recover#ConfirmSwapDiff() "{{{1 call inputrestore() let b:swapname=v:swapname if p == 1 || p == 3

Fixed locally, will push later, when I have network access again.

regards, Christian