mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
If a user :w's when in the options or recipient panes the global bufwrite handlers will be called, triggering an attempt to encrypt the file. The user will be dropped into the command line recipient adding process, and the recipients listed in the buffer will be ignored. This commit checks to see if a buffer is a child of another by looking for the buffer local var containing the parent buffer name, and only runs the encryption if it is not present.
42 KiB
42 KiB