jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
729 stars 73 forks source link

Error when doing ':wq' with newer vim version #111

Closed gobenji closed 4 years ago

gobenji commented 4 years ago

After upgrading from vim 8.1.2269 to 8.2.439 (on Debian unstable) the behavior changed when editing a gpg file and doing ':wq'. vim now reports "E13: File exists (add ! to override)". Forcing it with ":wq!" works as expected. Is it possible to have to old behavior back? That would keep the user experience consistent between editing normal files and gpg files.

jamessan commented 4 years ago

This is a bug in Vim, which was fixed in v8.2.0474. It was introduced by v8.2.0403.

I'll upload a new Vim version to Debian soon.

gobenji commented 4 years ago

Oh, I see. Thanks a lot for the clarification.