d279115bcd
In the refactor to use the *Cmd events, an unencrypted file was simply :read into the buffer. This incorrectly caused an extra blank line to be added to the top of the buffer. The handling of encrypted files properly handles this, as well as triggering BufRead(Pre,Post) events. Instead of returning early for unencrypted files, go through the same steps as for encrypted files (minus the encryption specific steps), thus preserving the content of the original file. |
||
---|---|---|
.. | ||
gnupg.vim |