Skip to content

Commit

Permalink
remove unnecessary exists check for g:GPGPreferSymmetric
Browse files Browse the repository at this point in the history
The variable is always set in GPGInit().

Signed-off-by: James McCoy <vega.james@gmail.com>
  • Loading branch information
rudis authored and jamessan committed Oct 6, 2015
1 parent 80fd6e4 commit 97436d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/gnupg.vim
Expand Up @@ -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

Expand Down

0 comments on commit 97436d1

Please sign in to comment.