From 97436d11589e89350c8e117f515c8b5e30e448a9 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 3 Oct 2015 16:28:35 +0200 Subject: [PATCH] remove unnecessary exists check for g:GPGPreferSymmetric The variable is always set in GPGInit(). Signed-off-by: James McCoy --- plugin/gnupg.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 506b777..874a39f 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -460,7 +460,7 @@ function s:GPGDecrypt(bufread) " This is a new file, so force the user to edit the recipient list if " they open a new file and public keys are preferred - if (exists("g:GPGPreferSymmetric") && g:GPGPreferSymmetric == 0) + if (g:GPGPreferSymmetric == 0) call s:GPGEditRecipients() endif