chrisbra / Recover.vim

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

Getting E382 Buftype Not Set error when I attempt to save #48

Closed snoblenet closed 7 years ago

snoblenet commented 7 years ago

Thanks for Recover.vim. I love having the option to drop into a diff window on recover.

Currently, after I align the left and right windows with :diffget and :diffput, I try to save both windows with :wq. However, I get a Cannot write, 'buftype' option is set error. The only way to save is to first :set buftype=" ". Am I missing something?

Also, what what be your opinion of Recover.vim automatically deleting the swap file as part of this process?

Flurrywinde commented 6 years ago

I just had this problem too. Why did you close this issue?

chrisbra commented 6 years ago

The buftype option is only set for the buffer that contains the recovered content from the swap file and does not correspond to a physical file. You need to save the other buffer

Am 13.08.2018 um 19:36 schrieb Flurrywinde notifications@github.com:

I just had this problem too. Why did you close this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.